Update twentemilieu to 0.6.0 (#68171)

This commit is contained in:
Franck Nijhof 2022-03-15 12:05:15 +01:00 committed by GitHub
parent fabcdf7498
commit f7cb10e2f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 20 additions and 19 deletions

View file

@ -65,11 +65,11 @@ def mock_twentemilieu() -> Generator[None, MagicMock, None]:
twentemilieu = twentemilieu_mock.return_value
twentemilieu.unique_id.return_value = 12345
twentemilieu.update.return_value = {
WasteType.NON_RECYCLABLE: date(2021, 11, 1),
WasteType.ORGANIC: date(2021, 11, 2),
WasteType.PACKAGES: date(2021, 11, 3),
WasteType.PAPER: None,
WasteType.TREE: date(2022, 1, 6),
WasteType.NON_RECYCLABLE: [date(2021, 11, 1), date(2021, 12, 1)],
WasteType.ORGANIC: [date(2021, 11, 2)],
WasteType.PACKAGES: [date(2021, 11, 3)],
WasteType.PAPER: [],
WasteType.TREE: [date(2022, 1, 6)],
}
yield twentemilieu