mprahl
d6d537f416
Remove the sys.modules patches in the tests
...
This is no longer needed since
https://pagure.io/fm-orchestrator/pull-request/1563
2020-01-16 14:39:46 -05:00
mprahl
f301e692f4
Use a context manager to patch sys.modules
...
When not using the context manager, it causes the pytest process
to not close after the tests have completed when the tests are
run using Python 3.
2020-01-16 14:39:46 -05:00
mprahl
af9505b0e1
Rearrange the imports to meet the style guide
...
This also includes `from __future__ import absolute_import`
in every file so that the imports are consistent in Python 2 and 3.
The Python 2 tests fail without this.
2020-01-16 14:39:46 -05:00
mprahl
f5ce07569b
Move test_content_generator.py to test_builder/test_content_generator.py
2020-01-16 14:39:46 -05:00