def test_create_selection_all_fields(self): """This is a test for creating a new selection object, with only the all fields being entered""" test_selection = Selection( selection = "test selection", notes = "4932") test_selection.save() self.assertEquals(test_selection.__unicode__(), "test selection")
def test_create_selection_all_fields(self): """This is a test for creating a new selection object, with only the all fields being entered""" test_selection = Selection(selection="test selection", notes="4932") test_selection.save() self.assertEquals(test_selection.__unicode__(), "test selection")
def test_create_selection_minimal(self): """This is a test for creating a new selection object, with only the minimum fields being entered""" test_selection = Selection(selection="test selection") test_selection.save() self.assertEquals(test_selection.__unicode__(), "test selection")
def test_create_selection_minimal(self): """This is a test for creating a new selection object, with only the minimum fields being entered""" test_selection = Selection(selection = "test selection") test_selection.save() self.assertEquals(test_selection.__unicode__(), "test selection")