Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Commit

Permalink
PEP8 improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
oyiptong committed Oct 31, 2014
1 parent f9c0460 commit c702893
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def test_ingest_dbpool(self):
"""
with open(self.get_fixture_path("2014-10-30.ja-pt.json"), 'r') as f:
tiles = json.load(f)
data = ingest_links(tiles)
ingest_links(tiles)
num_tiles = self.env.db.session.query(Tile).count()
print "tile num: {0}".format(num_tiles)
assert(num_tiles > 30)
Expand All @@ -248,9 +248,9 @@ def test_ingest_no_duplicates(self):
tiles = json.load(f)

num_tiles = self.env.db.session.query(Tile).count()
data = ingest_links(tiles)
ingest_links(tiles)
new_num_tiles = self.env.db.session.query(Tile).count()
assert_equal(num_tiles+1, new_num_tiles)
assert_equal(num_tiles + 1, new_num_tiles)


class TestDeploy(BaseTestCase):
Expand Down

0 comments on commit c702893

Please sign in to comment.