Create a MockHost class that mocks a small subset of the HostExport koji class, i.e. the builder specific XML RCP interface. All the methods needed for tagging a build, including waiting for tasks, are mocked. MockHost will keep a list of tagged builds, to check in the unit test functions. |
||
|---|---|---|
| .. | ||
| plugintest.py | ||
| test_builder.py | ||
| test_cli.py | ||
| test_hub.py | ||