X-Git-Url: http://git.veekun.com/zzz-pokedex.git/blobdiff_plain/7e756ef244438b09b9ab8b28cc12a15c74e310b7..dcf2481cea826b6a1d0ae19d8db295b22d024bc0:/pokedex/tests/test_schema.py diff --git a/pokedex/tests/test_schema.py b/pokedex/tests/test_schema.py index 0518ed8..0c0dade 100644 --- a/pokedex/tests/test_schema.py +++ b/pokedex/tests/test_schema.py @@ -202,12 +202,8 @@ def test_texts(): assert column.nullable def test_identifiers_with_names(): - """Test that named tables have identifiers, and non-named tables don't - - ...have either names or identifiers. + """Test that named tables have identifiers """ for table in sorted(tables.mapped_classes, key=lambda t: t.__name__): if hasattr(table, 'name'): assert hasattr(table, 'identifier'), table - else: - assert not hasattr(table, 'identifier'), table