Skip to content

Commit

Permalink
Small change in assert: len(array) == 0 -> array == []
Browse files Browse the repository at this point in the history
  • Loading branch information
aviau committed Jun 26, 2014
1 parent 349fbd8 commit 3ef9ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_InfluxdbBroker.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def test_hook_tick(self):
# We are not testing python-influxdb.
# We are only making sure that the format of points we are sending
# does not raise errors and that the buffer empties.
self.assertEqual(len(broker.buffer), 0)
self.assertEqual(broker.buffer, [])
self.assertEqual(broker.ticks, 0)

def test_hook_tick_limit(self):
Expand Down

0 comments on commit 3ef9ff7

Please sign in to comment.