Commit f1e08d75 authored by Naoki Kambe's avatar Naoki Kambe
Browse files

[917] use assertEqual instead of assertTrue

parent cc48074a
......@@ -460,9 +460,9 @@ class TestStats(unittest.TestCase):
self.assertEqual(len(schema), 3)
for item in schema:
if item['item_type'] == 'list':
self.assertTrue(len(item) == 7)
self.assertEqual(len(item), 7)
else:
self.assertTrue(len(item) == 6)
self.assertEqual(len(item), 6)
self.assertTrue('item_name' in item)
self.assertTrue('item_type' in item)
self.assertTrue('item_optional' in item)
......
Supports Markdown
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