Exemplo n.º 1
0
 def test_get_all_rooms_multiple(self):
     """ Tests getting all rooms with 2 entries"""
     RoomService.create_room('6', 'Bad', 'Double')
     self.assertEqual(len(RoomService.get_all_rooms()), 2)
Exemplo n.º 2
0
 def test_get_all_rooms(self):
     """ Tests getting all rooms with 1 entry """
     self.assertEqual(len(RoomService.get_all_rooms()), 1)