Repository navigation
fix: separate Lancaster red and yellow recycling streams - #2324
craiggraham wants to merge 2 commits into
Conversation
Lancaster's portal lists "Recycling Red Collection Service" and "Recycling Yellow Collection Service", but prefix matching against "Recycling" collapsed both into a single Recycling bin. Match the specific streams first, keeping "Recycling" as the fallback for the unspecified-stream wording.
Walkthrough
Merge Risk:
|
Lancaster's portal lists Recycling Red Collection Service and Recycling Yellow Collection Service, but prefix matching against
"Recycling"collapsed both into a singleRecyclingbin, so it was impossible to tell which stream is due.This matches the specific streams first and keeps
Recyclingas the fallback for the "refer to calendar for stream" wording.Impact: Lancaster only. Existing Lancaster users will see the
Recyclingsensor replaced byRecycling RedandRecycling Yellow, so automations using the old sensor will need updating.Testing
pytest uk_bin_collection/tests/step_defs/ -k LancasterCityCouncilpasses.uk_bin_collection/tests/test_lancaster_city_council.py.Summary by CodeRabbit