From 8c7258205fad8230e236709c20469ff390426cbf Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 25 Apr 2018 13:06:24 -0700 Subject: refactor out ExtraJson table --- tests/api.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests') diff --git a/tests/api.py b/tests/api.py index bb7007c1..02875f64 100644 --- a/tests/api.py +++ b/tests/api.py @@ -42,7 +42,6 @@ def test_api_work_create(app): assert WorkIdent.query.count() == 0 assert WorkRev.query.count() == 0 assert WorkEdit.query.count() == 0 - assert ExtraJson.query.count() == 0 rv = app.post('/v0/work', data=json.dumps(dict(title="dummy", work_type="thing", extra=dict(a=1, b="zing"))), headers={"content-type": "application/json"}) @@ -51,7 +50,6 @@ def test_api_work_create(app): assert WorkIdent.query.count() == 1 assert WorkRev.query.count() == 1 assert WorkEdit.query.count() == 1 - assert ExtraJson.query.count() == 1 # not alive yet assert WorkIdent.query.filter(WorkIdent.is_live==True).count() == 0 -- cgit v1.2.3