aboutsummaryrefslogtreecommitdiffstats
path: root/tests/models.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-04-23 20:59:47 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-04-23 20:59:47 -0700
commitf13a9c26c7a894703b401f4898b3d5bb84282824 (patch)
tree072e7cfd33cc2d2ecb501119aef0f2e982012e0d /tests/models.py
parent176c76597dd42705cf3aaf307b831cb5f979d9bb (diff)
downloadfatcat-f13a9c26c7a894703b401f4898b3d5bb84282824.tar.gz
fatcat-f13a9c26c7a894703b401f4898b3d5bb84282824.zip
pylinting
Diffstat (limited to 'tests/models.py')
-rw-r--r--tests/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/models.py b/tests/models.py
index e969992b..98bb6bc7 100644
--- a/tests/models.py
+++ b/tests/models.py
@@ -1,8 +1,8 @@
import json
-import pytest
import unittest
import tempfile
+import pytest
import fatcat
import fatcat.sql
from fatcat.models import *
@@ -36,7 +36,7 @@ def test_schema_release_rev(app):
model_after = ReleaseRev.query.first()
serial = release_rev_schema.dump(model_after).data
#check_release(serial)
- for k in e.keys():
+ for k in e:
assert e[k] == serial[k]
def test_schema_creator_rev(app):