Compare commits
1 Commits
5d259635a2
...
a850a526e6
Author | SHA1 | Date | |
---|---|---|---|
a850a526e6 |
@ -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
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user