changeset 10600 | 180aa08cad48 |
parent 10554 | c39749d14c53 |
child 10653 | 42c5bd7286b7 |
--- a/test/unittest_schema.py Tue Sep 15 16:30:25 2015 +0200 +++ b/test/unittest_schema.py Wed Sep 16 11:32:09 2015 +0200 @@ -158,7 +158,7 @@ def test_knownValues_load_schema(self): schema = loader.load(config) - self.assert_(isinstance(schema, CubicWebSchema)) + self.assertIsInstance(schema, CubicWebSchema) self.assertEqual(schema.name, 'data') entities = sorted([str(e) for e in schema.entities()]) expected_entities = ['Ami', 'BaseTransition', 'BigInt', 'Bookmark', 'Boolean', 'Bytes', 'Card',