Skip to content

Commit

Permalink
test for active rooms
Browse files Browse the repository at this point in the history
  • Loading branch information
btb committed Mar 1, 2019
1 parent 10f5c94 commit b1f0e6f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ems_client/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ def test_event_types(self):
def test_rooms(self):
rooms = self._api.get_all_rooms()
self.assertGreaterEqual(len(rooms), 0)
active_rooms = list(filter(lambda rm: rm.active, rooms))
self.assertEqual(len(active_rooms), 53)

def test_service_orders(self):
service_orders = self._api.get_service_order_details('2016-01-01',
Expand Down

0 comments on commit b1f0e6f

Please sign in to comment.