@pytest.mark.django_db
def test_coop_type_create(self):
    ' Test coop type model '
    coop_type = CoopTypeFactory(name='Test Coop Type Name')
    assert (coop_type.name == 'Test Coop Type Name')
Test coop type model
@pytest.mark.django_db
def test_coop_type_create(self):
    '  '
    coop_type = CoopTypeFactory(name='Test Coop Type Name')
    assert (coop_type.name == 'Test Coop Type Name')