Пример #1
0
 def test_GetLatitudeOfShed(self):
     """
     """
     self.assertEqual(shedUtils.getLatitudeOfShed(self.getShed), -1)
Пример #2
0
 def test_GetLatitudeOfShed(self):
     """
     """
     self.assertEqual (shedUtils.getLatitudeOfShed (self.getShed), -1)
Пример #3
0
 def test_UpdateLatitudeOfShed(self):
     """
     """
     shedUtils.updateLatitudeOfShed(self.getShed, 45)
     getShed = Shed.objects.get(name="Lightsaber Tools")
     self.assertEqual(shedUtils.getLatitudeOfShed(self.getShed), 45)
Пример #4
0
 def test_UpdateLatitudeOfShed(self):
     """
     """
     shedUtils.updateLatitudeOfShed (self.getShed, 45)
     getShed = Shed.objects.get (name = "Lightsaber Tools")
     self.assertEqual (shedUtils.getLatitudeOfShed (self.getShed), 45)