Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
fix: assertTrue -> eq_
Browse files Browse the repository at this point in the history
issue #674
  • Loading branch information
pjenvey committed Oct 4, 2016
1 parent db4e6dc commit c01eb4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autopush/tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def test_delivery_while_disconnected(self):
yield client.hello()
result = yield client.get_notification()
ok_(result != {})
self.assertTrue(len(result["updates"]) == 1)
eq_(len(result["updates"]), 1)
eq_(result["updates"][0]["channelID"], chan)
yield self.shut_down(client)

Expand All @@ -473,7 +473,7 @@ def test_delivery_repeat_without_ack(self):
yield client.hello()
result = yield client.get_notification()
ok_(result != {})
self.assertTrue(len(result["updates"]) == 1)
eq_(len(result["updates"]), 1)
eq_(result["updates"][0]["channelID"], chan)

yield client.disconnect()
Expand Down

0 comments on commit c01eb4d

Please sign in to comment.