Skip to content

Commit

Permalink
checking response size in tests wasn't the best idea
Browse files Browse the repository at this point in the history
  • Loading branch information
chekunkov committed Aug 3, 2015
1 parent fee74d2 commit 0bba32b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions splash/tests/test_render.py
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,6 @@ def test_width_height_high_quality(self):
20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20,
20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20
]))
self.assertEqual(len(r.content), 13366)

def test_width_height_low_quality(self):
r = self.request({
Expand All @@ -938,7 +937,6 @@ def test_width_height_low_quality(self):
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1
]))
self.assertEqual(len(r.content), 12793)

def test_range_checks(self):
for arg in ('width', 'height'):
Expand Down

0 comments on commit 0bba32b

Please sign in to comment.