Commit Graph
10 Commits
Author SHA1 Message Date
MirceaDan c623e90ebc chnaged teh default from binary to text mode
seams like open was defaulting to text mode, since now is specified in clear i made sure it matches with teh previous default
2018-12-01 17:43:19 -08:00
MirceaDan 347f53baa4 file must be open in text mode
those files must be opened in text mode in python3
2018-12-01 16:36:11 -08:00
MirceaDan 337e49208a py23 compat: using io.open instead of open
for python3 and python2 to work teh same io.open must be used for file handling
2018-11-30 00:32:57 -08:00
Gina Häußge 3ad4818488 Use read instead of write mode in _load_yaml 2018-10-30 16:56:14 +01:00
tedder 743ff35bcf add some yaml wrappers for the test environment 2018-09-22 18:05:10 -07:00
Gina Häußge ddd2711f95 Fix a broken unit test
We now initialize the folders when initializing the settings, so the
test that the folder didn't yet exist before retrieving its path
naturally failed.
2018-05-03 12:18:10 +02:00
Gina Häußge 01ebf8fba7 Fix for two timing sensitive unit tests 2017-03-06 11:54:03 +01:00
MirceaDan 149cc8c7c5 python 3 changes exceptions, queue and asesrtEqual
1) import Queue is now lower caps

2) exceptions
except KeyError as e:

3) assertEquals is deprecated but assertEqual does exactly same thing
2016-07-14 23:53:39 -07:00
Gina Häußge 3b2af5b7ed Fix settings unit tests 2016-06-28 10:57:51 +02:00
Gina Häußge 73ba5b05a9 Add unit tests for settings 2016-06-28 10:29:05 +02:00