Add in memory database to settings for testing purposes Project: http://git-wip-us.apache.org/repos/asf/cloudstack-gcestack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-gcestack/commit/e3761a49 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-gcestack/tree/e3761a49 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-gcestack/diff/e3761a49
Branch: refs/heads/master Commit: e3761a491adbc93854fa3d68781e18b1aabcf8fc Parents: 841364e Author: Darren <darrenbro...@hotmail.com> Authored: Tue Jun 17 15:46:09 2014 +0100 Committer: Darren <darrenbro...@hotmail.com> Committed: Tue Jun 17 15:46:09 2014 +0100 ---------------------------------------------------------------------- tests/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack-gcestack/blob/e3761a49/tests/settings.py ---------------------------------------------------------------------- diff --git a/tests/settings.py b/tests/settings.py index 867bf91..278c50d 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -7,5 +7,6 @@ CLOUDSTACK_PROTOCOL = 'https' CLOUDSTACK_PATH = '/compute' DEBUG=False - TESTING = True + +SQLALCHEMY_DATABASE_URI = 'sqlite:///:memory:'