diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_lps_gen.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/test_lps_gen.py b/tests/test_lps_gen.py index 254f384..0a8efff 100644 --- a/tests/test_lps_gen.py +++ b/tests/test_lps_gen.py @@ -572,6 +572,23 @@ class TestLPSTBA(object): assert_equal(sp_block, speakers.pop(0)) + def test_LP_room(self): + """Tests the non-existence of `RoomTBA` in gen. HTML. + + """ + rooms = [ + 'Room 32-141', + 'Room 32-144', + 'Room 31-123', + 'Room 32-144', + 'Room 42-042', + ] + + for sp in self.soup.find_all(class_='room'): + room_block = sp.string + assert_equal(room_block, rooms.pop(0)) + + def teardown(self): """Cleans up things after each test in this class. |