8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f6f721 commit 34d7793Copy full SHA for 34d7793
tests/test_handler.py
@@ -42,5 +42,5 @@ def test_simple(self):
42
eq('app.follow', data[0][0])
43
eq('userA', data[0][2]['from'])
44
eq('userB', data[0][2]['to'])
45
- self.assert_(data[0][1])
46
- self.assert_(isinstance(data[0][1], int))
+ self.assertTrue(data[0][1])
+ self.assertTrue(isinstance(data[0][1], int))
tests/test_sender.py
@@ -32,5 +32,5 @@ def test_simple(self):
32
eq(3, len(data[0]))
33
eq('test.foo', data[0][0])
34
eq({'bar': 'baz'}, data[0][2])
35
36
0 commit comments