Merge "Use assertGreater(len(x), y) instead of assertTrue(len(x) > y)"

This commit is contained in:
Jenkins 2016-12-15 08:03:22 +00:00 committed by Gerrit Code Review
commit d66ea62522

View File

@ -24,6 +24,6 @@ class TestDataSourcesBase(TestFunctionalBase):
VProps.CATEGORY: EntityCategory.RESOURCE,
VProps.TYPE: type_
})
self.assertTrue(len(entity_vertices) > 0)
self.assertGreater(len(entity_vertices), 0)
return entity_vertices[0][VProps.ID]