trying to get tests to pass with hub_model=capsulflask

This commit is contained in:
2021-07-27 12:48:48 -05:00
committed by 3wc
parent 5e682cc705
commit 2348191990
6 changed files with 24 additions and 12 deletions

View File

@ -11,8 +11,9 @@ class BaseTestCase(TestCase):
# Use default connection paramaters
os.environ['POSTGRES_CONNECTION_PARAMETERS'] = "host=localhost port=5432 user=postgres password=dev dbname=capsulflask_test"
os.environ['TESTING'] = '1'
os.environ['LOG_LEVEL'] = 'DEBUG'
os.environ['SPOKE_MODEL'] = 'mock'
os.environ['HUB_MODEL'] = 'mock'
os.environ['HUB_MODEL'] = 'capsul-flask'
return create_app()
def setUp(self):