def tearDown(self): Fixtures.organisation_teardown() for organisation in Organisation.objects.filter( name="Banana Unpublished"): organisation.delete() for organisation in Organisation.objects.filter( name="Banana Published"): organisation.delete() for organisation in Organisation.objects.filter( name="an updated organisation"): organisation.delete()
def tearDown(self): Fixtures.organisation_teardown()
def tearDown(self): Fixtures.organisation_teardown() for organisation in Organisation.objects.filter(name="Test0rg"): organisation.delete() for organisation in Organisation.objects.filter(name="Another org"): organisation.delete()