Skip to content

Commit

Permalink
Merge pull request #254 from Friendly-Banana/rename-to-butenandstr
Browse files Browse the repository at this point in the history
Rename StuBistro Großhadern to StuBistro Butenandstr
  • Loading branch information
CommanderStorm authored Jul 26, 2024
2 parents 2893893 + 622ca21 commit eaa2041
Show file tree
Hide file tree
Showing 15 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ def __init__(self, long_name: str, location: Location, url_id: int, queue_status
None,
OpenHours(("11:00", "14:00"), ("11:00", "14:00"), ("11:00", "14:00"), ("11:00", "14:00"), ("11:00", "14:00")),
)
STUBISTRO_GROSSHADERN = (
"StuBistro Großhadern",
STUBISTRO_BUTENANDSTR = (
"StuBistro Butenandstraße",
Location(
"Butenandtstraße 13, Gebäude F, München",
48.11363,
Expand Down
2 changes: 1 addition & 1 deletion src/menu_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class StudentenwerkMenuParser(MenuParser):
Canteen.MENSA_WEIHENSTEPHAN,
Canteen.STUBISTRO_ARCISSTR,
Canteen.STUBISTRO_GOETHESTR,
Canteen.STUBISTRO_GROSSHADERN,
Canteen.STUBISTRO_BUTENANDSTR,
Canteen.STUBISTRO_ROSENHEIM,
Canteen.STUBISTRO_SCHELLINGSTR,
Canteen.STUBISTRO_MARTINSRIED,
Expand Down
2 changes: 1 addition & 1 deletion src/test/assets/enum_to_json/reference/canteens.json
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@
"latitude": 48.11363,
"longitude": 11.46503
},
"canteen_id": "stubistro-grosshadern",
"canteen_id": "stubistro-butenandstr",
"queue_status": null,
"open_hours": {
"mon": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "2.1",
"canteen_id": "stubistro-grosshadern",
"canteen_id": "stubistro-butenandstr",
"weeks": [
{
"number": 31,
Expand Down
2 changes: 1 addition & 1 deletion src/test/test_menu_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def test_get_all_dates(self) -> None:
self.assertEqual(dates, working_days)

def test_studentenwerk(self) -> None:
canteens = [Canteen.MENSA_ARCISSTR, Canteen.STUBISTRO_GROSSHADERN, Canteen.MENSA_GARCHING]
canteens = [Canteen.MENSA_ARCISSTR, Canteen.STUBISTRO_BUTENANDSTR, Canteen.MENSA_GARCHING]
for canteen in canteens:
self.__test_studentenwerk_canteen(canteen)

Expand Down

0 comments on commit eaa2041

Please sign in to comment.