briggySmalls / late-train-mate

A lightweight website that provides stats on delayed or cancelled UK train services
MIT License
0 stars 0 forks source link

Unit tests on LateTrainMate fail due to parallelism #5

Closed briggySmalls closed 7 years ago

briggySmalls commented 7 years ago

Switching to using a parallel loop has broken the unit tests. The error is due to not being able to pickel a Mock or MagicMock.

briggySmalls commented 7 years ago

Parallelism has been abandoned in favour of incremental results. Whilst they are not mutually exclusive, it would have been pretty difficult to implement both at the same time. Unit tests have been updated and now work