Skip to content

Commit

Permalink
[#517] Update docs to create test datastore db
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Mar 26, 2013
1 parent b8063f0 commit 4872f51
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/test.rst
Expand Up @@ -58,9 +58,11 @@ Or to run the CKAN tests and the core extensions tests together::
Testing with PostgreSQL
-----------------------

Starting in CKAN 2.1 tests are run in a separate postgres database by default. You should create the test database as follows.::
Starting in CKAN 2.1 tests are run in a separate postgres database by
default. You should create the test databases as follows.::

sudo -u postgres createdb -O ckanuser ckan_test -E utf-8
sudo -u postgres createdb -O ckanuser ckan_test_datastore -E utf-8

This database connection is specified in the ``test-core.ini`` file by the
``sqlalchemy.url`` parameter.
Expand Down

0 comments on commit 4872f51

Please sign in to comment.