Commit Graph

18 Commits

Author SHA1 Message Date
Lucas Verney 0f2c4e0685 Partially fix tests 2019-01-17 14:52:26 +01:00
Lucas Verney 576c18b597 Fix #116 and incorrect handling of invalid images file in ImageCache 2018-01-30 17:01:31 +01:00
Lucas Verney d160962509 Fix CI 2018-01-30 10:36:40 +01:00
Lucas Verney ee2880326c Add a way to download photos locally
Fix for #94.
2018-01-28 17:08:53 +01:00
nicofrand bb78725a05 Trim whitespaces in string normalization 2018-01-22 13:01:07 +01:00
nicofrand 88087c8628 Address review 2018-01-22 13:01:07 +01:00
nicofrand 9957206abe Add tests with cropped photos 2018-01-22 12:32:26 +01:00
nicofrand 39b3ce6a1d Add test on similar but different flats 2018-01-22 12:31:06 +01:00
nicofrand 4870078599 More duplicates tests 2018-01-21 14:25:44 +01:00
Lucas Verney 27d601ca21 Fix a bug with roman literals conversion 2018-01-21 12:12:14 +01:00
Lucas Verney 08599d91de Address a few nits in review 2018-01-21 12:00:30 +01:00
nicofrand 9fa2177087 Add unit tests for image comparison 2018-01-21 11:53:59 +01:00
Lucas Verney a45eba65c7 Improve cities fuzzy matching
* Convert arabic numerals to roman ones in fuzzy comparison, to ensure
there is no more discrepancies between "Paris 20" and "Paris XX" for
instance. Fix #112 and improve on top of #110.
* Improve handling of opendata postal codes (no more duplicates, better
capitalization).

Note: You should `pip install -r requirements.txt` and rebuild the
database (`python -m flatisfy build-data --config config.json`) after
this commit.

Thanks @nicofrand for building the basic blocks for this!
2018-01-19 11:53:27 +01:00
Lucas Verney deeba0e5f2 Disable roman numerals conversion, add extra test 2018-01-18 15:00:21 +01:00
Lucas Verney d482d9b6fa Make CI fail if a test fails + a bit of linting 2018-01-18 14:48:28 +01:00
nicofrand 771b140705 Fix tests 2018-01-18 13:50:49 +01:00
nicofrand 07955af574 Fix roman numbers convertion 2018-01-18 13:50:49 +01:00
nicofrand 5b85ad6e59 Add unit tests 2018-01-17 08:43:25 +01:00