Compare commits
1 Commits
a850a526e6
...
5d259635a2
Author | SHA1 | Date | |
---|---|---|---|
5d259635a2 |
@ -6,3 +6,9 @@
|
||||
language: system
|
||||
files: ^.*\.py$
|
||||
exclude: ^(migrations).*$
|
||||
- id: unittest
|
||||
name: unittest
|
||||
entry: python -m unittest discover ki
|
||||
language: system
|
||||
exclude: .*
|
||||
always_run: true
|
||||
|
@ -15,12 +15,15 @@ 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):
|
||||
|
Loading…
Reference in New Issue
Block a user