Commit e9e74c0e authored by Qiaowei Ren's avatar Qiaowei Ren

Replace assertEqual(None, *) with assertIsNone in tests

Change-Id: I6b68a3d50a321d8bc56964222bd0f599897937ec
parent 2bd126bb
......@@ -48,12 +48,12 @@ class AggregatorTransformerTestCase(base.BaseTestCase):
def test_init_no_size_or_rention_time(self):
aggregator = conversions.AggregatorTransformer()
self.assertEqual(1, aggregator.size)
self.assertEqual(None, aggregator.retention_time)
self.assertIsNone(aggregator.retention_time)
def test_init_size_zero(self):
aggregator = conversions.AggregatorTransformer(size="0")
self.assertEqual(1, aggregator.size)
self.assertEqual(None, aggregator.retention_time)
self.assertIsNone(aggregator.retention_time)
def test_init_input_validation_size_invalid(self):
self.assertRaises(ValueError, conversions.AggregatorTransformer,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment