Example #1
0
 def test_create_manipulation_minimal_treatment_protein_added(self):
     """This is a test for creating a new Manipulation object, with only the minimum fields being entered.  It also tests the unicode representation.  This tests for adding a protein."""
     test_manipulation = Manipulation(
         type="Treatment", protein_added=Protein.objects.get(pk=1))
     test_manipulation.save()
     self.assertEquals(test_manipulation.__unicode__(),
                       "Fixture Protein Treatment")