Skip to content

Commit

Permalink
Fix test bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
Logan committed Mar 2, 2020
1 parent 7b451d7 commit 3d5da74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def upgrade_loop(self):
try:
with self.app.app_context():
print("------------- running upgrade")
self.data_model_manager.run_upgrade()
self.data_model_manager.initalize_base_models()

if self.schema_dicts is None:
print("------------- running monitor data resources")
Expand All @@ -143,7 +143,7 @@ def upgrade_loop(self):
print("------------- running monitor data models")
self.data_model_manager.work_on_schema(schema_dict, "custom_schema")

self.data_model_manager.run_upgrade()
self.data_model_manager.initalize_base_models()
upgraded = True
return True

Expand Down

0 comments on commit 3d5da74

Please sign in to comment.