Skip to content

Commit e0b8342

Browse files
committed
Change room names in misc.py and update test cases to use simplified room identifiers
1 parent 676d125 commit e0b8342

2 files changed

Lines changed: 18 additions & 15 deletions

File tree

src/misc.py

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,19 @@ class Room(Enum):
3232
Rooms at the conference venue, this can change year to year
3333
"""
3434

35-
auditorium_s1 = "Auditorium Hall (S1)"
36-
theatre_s2 = "Theatre Hall (S2)"
37-
conference_s4 = "Conference Hall Complex (S4)"
38-
chamber_s3a = "Chamber Hall A (S3A)"
39-
chamber_s3b = "Chamber Hall B (S3B)"
40-
conference_s4a = "Conference Hall Complex A (S4A)"
41-
conference_s4b = "Conference Hall Complex B (S4B)"
42-
glass_room_f0 = "Conference room F0 (Glass room)"
43-
multifunctional_1 = "Multifunctional room 1 (2.015/2.016)"
44-
fishbowl_f2 = "Reception Room F2 (Fishbowl)"
35+
s1 = "S1"
36+
s2 = "S2"
37+
s4 = "S4"
38+
s3a = "S3A"
39+
s3b = "S3B"
40+
s4a = "S4A"
41+
s4b = "S4B"
42+
glass_room = "Glass room"
43+
room_2_017_2_018 = "2.017/2.018"
44+
fishbowl = "Fishbowl"
45+
poster_hall_a = "Poster Hall A"
46+
poster_hall_b = "Poster Hall B"
47+
poster_hall_c = "Poster Hall C"
4548
exhibit_hall = "Exhibit Hall"
4649

4750

tests/test_timing_relationships.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ def test_submission_uses_last_timed_slot_before_blank_placeholders() -> None:
3434
None,
3535
slots=[
3636
{
37-
"room": "Reception Room F2 (Fishbowl)",
37+
"room": "Fishbowl",
3838
"start": "2026-07-14T09:30:00+02:00",
3939
"end": "2026-07-14T11:00:00+02:00",
4040
},
4141
{
42-
"room": "Reception Room F2 (Fishbowl)",
42+
"room": "Fishbowl",
4343
"start": "2026-07-14T11:15:00+02:00",
4444
"end": "2026-07-14T12:45:00+02:00",
4545
},
@@ -48,7 +48,7 @@ def test_submission_uses_last_timed_slot_before_blank_placeholders() -> None:
4848
],
4949
)
5050

51-
assert session.room == "Reception Room F2 (Fishbowl)"
51+
assert session.room == "Fishbowl"
5252
assert session.start.isoformat() == "2026-07-14T09:30:00+02:00"
5353
assert session.end.isoformat() == "2026-07-14T12:45:00+02:00"
5454

@@ -82,12 +82,12 @@ def test_schedule_start_times_use_only_scheduled_slots() -> None:
8282
None,
8383
slots=[
8484
{
85-
"room": "Reception Room F2 (Fishbowl)",
85+
"room": "Fishbowl",
8686
"start": "2026-07-14T09:30:00+02:00",
8787
"end": "2026-07-14T11:00:00+02:00",
8888
},
8989
{
90-
"room": "Reception Room F2 (Fishbowl)",
90+
"room": "Fishbowl",
9191
"start": "2026-07-14T11:15:00+02:00",
9292
"end": "2026-07-14T12:45:00+02:00",
9393
},

0 commit comments

Comments
 (0)