3 new commits added
4 new commits added
1 new commit added
5 new commits added
Okay, it's ready for review now.
Why not use _content = content or ''? This pattern is used in other places in this file?
_content = content or ''
Actually, does this method do something else than test.utils.Utils.write_file?
test.utils.Utils.write_file
Looks great to me.
The tests now need rpmfluff, so it needs to be added as a BuildRequires in spec.
BuildRequires
Originally when I ran the tests, I had some failures. They were caused by my locale (cs_CZ), because some of the expected strings were translated. Running the tests via LANG=C python setup.py test fixed them.
cs_CZ
LANG=C python setup.py test
touch is removed and replaced with write_file.
touch
write_file
Fixed the locale issue. Now, tests don't depend on the local set in the host.
Looked good before, and now it's even better.
Pull-Request has been merged by cqi