Acceptance tests now pull from their own unique database

These databases/collections are cleared after harvest
This commit is contained in:
JonahStanley
2013-06-27 14:43:25 -04:00
parent 433e5e9087
commit 789b711023
3 changed files with 11 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ MODULESTORE_OPTIONS = {
'default_class': 'xmodule.raw_module.RawDescriptor',
'host': 'localhost',
'db': 'test_xmodule',
'collection': 'acceptance_modulestore',
'collection': 'acceptance_modulestore_%s' % uuid4().hex,
'fs_root': TEST_ROOT / "data",
'render_template': 'mitxmako.shortcuts.render_to_string',
}
@@ -45,7 +45,7 @@ CONTENTSTORE = {
'ENGINE': 'xmodule.contentstore.mongo.MongoContentStore',
'OPTIONS': {
'host': 'localhost',
'db': 'acceptance_xcontent',
'db': 'acceptance_xcontent_%s' % uuid4().hex,
},
# allow for additional options that can be keyed on a name, e.g. 'trashcan'
'ADDITIONAL_OPTIONS': {