def test_create_species_all_fields(self): """This is a test for creating a new species object, with only the all fields being entered""" test_species = Species( common_name = "test species", taxonomy_id = "4932") test_species.save() self.assertEquals(test_species.__unicode__(), "test species")
def test_create_species_all_fields(self): """This is a test for creating a new species object, with only the all fields being entered""" test_species = Species(common_name="test species", taxonomy_id="4932") test_species.save() self.assertEquals(test_species.__unicode__(), "test species")
def test_create_species_minimal(self): """This is a test for creating a new species object, with only the minimum fields being entered""" test_species = Species(common_name="test species") test_species.save() self.assertEquals(test_species.__unicode__(), "test species")
def test_create_species_minimal(self): """This is a test for creating a new species object, with only the minimum fields being entered""" test_species = Species(common_name = "test species") test_species.save() self.assertEquals(test_species.__unicode__(), "test species")