Compare commits

..

1 Commits

Author SHA1 Message Date
a850a526e6
fix db error on second login
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2021-06-22 17:38:36 +02:00
2 changed files with 0 additions and 9 deletions

View File

@ -6,9 +6,3 @@
language: system
files: ^.*\.py$
exclude: ^(migrations).*$
- id: unittest
name: unittest
entry: python -m unittest discover ki
language: system
exclude: .*
always_run: true

View File

@ -15,15 +15,12 @@ class TestProfileEndpoint(unittest.TestCase):
self.client = app.test_client()
with app.app_context():
db.drop_all()
db.engine.dispose()
config = migrate.get_config()
command.upgrade(config, "head")
seed()
def tearDown(self):
db.drop_all()
db.engine.dispose()
def test_create_profile(self):