Martin Kopec 6bb29fdd27 Fix TestImageService's unit tests
The test class had hardcoded DEFAULT_IMAGE_DIR value to /img/
which resulted in unit tests failures when this path existed
because the tests expect a call to makedirs which didn't happen
as the DEFAULT_IMAGE_DIR already existed.
The patch fixes that by passing exist_ok=True to makedirs call
which will result in always calling makedirs, whether img_dir
exists or not.

Change-Id: I47d15747536394006f6b502b3025220a5077e547
2022-03-29 14:59:40 +02:00
..
2020-12-08 15:04:12 +00:00
2020-11-14 11:18:41 +00:00
2020-06-02 08:36:00 +00:00
2018-08-13 11:57:14 +02:00