aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-04-25 13:06:24 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-04-25 13:06:24 -0700
commit8c7258205fad8230e236709c20469ff390426cbf (patch)
tree4273d493e1bf5df205be8e71783c093508fd7f72 /tests
parentd34970e368a303f5d25d05384abb44e04b73d5b7 (diff)
downloadfatcat-8c7258205fad8230e236709c20469ff390426cbf.tar.gz
fatcat-8c7258205fad8230e236709c20469ff390426cbf.zip
refactor out ExtraJson table
Diffstat (limited to 'tests')
-rw-r--r--tests/api.py2
1 files changed, 0 insertions, 2 deletions
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