Tests that specifying the service time as a specification (key-value pair) results in a uniform service time for all clients.
()
| 224 | |
| 225 | |
| 226 | def test_service_time_specification(): |
| 227 | """ |
| 228 | Tests that specifying the service time as a specification (key-value pair) |
| 229 | results in a uniform service time for all clients. |
| 230 | """ |
| 231 | data = read("data/ServiceTimeSpecification.txt") |
| 232 | |
| 233 | # Clients should all have the same service time. |
| 234 | services = [client.service_duration for client in data.clients()] |
| 235 | assert_allclose(services, 360) |
| 236 | |
| 237 | |
| 238 | def test_multiple_depots(): |