Skip to content

Commit

Permalink
Fix a db query issue
Browse files Browse the repository at this point in the history
Signed-off-by: Jongmin Kim <[email protected]>
  • Loading branch information
whdalsrnt committed Jan 21, 2021
1 parent 7e7c341 commit 24637dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/service/test_domain_config_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ class TestDomainConfigService(unittest.TestCase):
@classmethod
def setUpClass(cls):
config.init_conf(package='spaceone.config')
config.set_service_config()
config.set_global(DATABASE_SUPPORT_AWS_DOCUMENT_DB=True)
connect('test', host='mongomock://localhost')

cls.domain_id = utils.generate_id('domain')
Expand Down
2 changes: 2 additions & 0 deletions test/service/test_user_config_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ class TestUserConfigService(unittest.TestCase):
@classmethod
def setUpClass(cls):
config.init_conf(package='spaceone.config')
config.set_service_config()
config.set_global(DATABASE_SUPPORT_AWS_DOCUMENT_DB=True)
connect('test', host='mongomock://localhost')

cls.domain_id = utils.generate_id('domain')
Expand Down

0 comments on commit 24637dd

Please sign in to comment.