From 5514a42b79832d50b2c6f0a0d84933b1dc0120ff Mon Sep 17 00:00:00 2001 From: "Troy J. Farrell" Date: Thu, 28 Sep 2017 09:59:32 +0000 Subject: [PATCH] Update the testing setup instructions --- docs/source/user/development.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/user/development.rst b/docs/source/user/development.rst index 17b22d25..39c40e1a 100644 --- a/docs/source/user/development.rst +++ b/docs/source/user/development.rst @@ -22,10 +22,10 @@ If you would like to run the test suite, create a database for testing like this mysql -e 'create database test_pymysql DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;' mysql -e 'create database test_pymysql2 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;' -Then, copy the file ``.travis.databases.json`` to ``pymysql/tests/databases.json`` +Then, copy the file ``.travis/database.json`` to ``pymysql/tests/databases.json`` and edit the new file to match your MySQL configuration:: - $ cp .travis.databases.json pymysql/tests/databases.json + $ cp .travis/database.json pymysql/tests/databases.json $ $EDITOR pymysql/tests/databases.json To run all the tests, execute the script ``runtests.py``::