tests: fix skipping with TestPosgresFieldsMapping (#5965)

`pytest.mark.skipUnless` does not exist, it was confused with
`unittest.skipUnless` probably.
This commit is contained in:
Daniel Hahler 2018-05-03 14:31:46 +02:00 committed by Tom Christie
parent 8c03c49400
commit e79610af3a

View File

@ -402,7 +402,7 @@ class TestGenericIPAddressFieldValidation(TestCase):
'{0}'.format(s.errors))
@pytest.mark.skipUnless(postgres_fields, 'postgres is required')
@pytest.mark.skipif('not postgres_fields')
class TestPosgresFieldsMapping(TestCase):
def test_hstore_field(self):
class HStoreFieldModel(models.Model):