def test_all_exception(self):
     Busline.all()
     self.assertRaises(ApiException)
 def test_busline_all_empty(self):
     buslines = Busline.all()
     self.assertEquals(0, len(buslines))
 def test_busline_all(self):
     self.create_busline()
     buslines = Busline.all()
     self.assertEquals(1, len(buslines))
Exemple #4
0
 def test_all_exception(self):
     Busline.all()
     self.assertRaises(ApiException)
Exemple #5
0
 def test_busline_all_empty(self):
     buslines = Busline.all()
     self.assertEquals(0, len(buslines))
Exemple #6
0
 def test_busline_all(self):
     self.create_busline()
     buslines = Busline.all()
     self.assertEquals(1, len(buslines))