test_host_plugin: Use HostTracker fixtures

The racker object "remembers" expected state across several tests,
so only changes (rather than all expected state) need to be specified
in each test. Also, the tracker fixture will make it easy to use hosts
in other test modules.

This change makes the tests independent; any permutation of any subset
of these tests should now pass.

Reviewed-By: Tomas Babej <tbabej@redhat.com>
This commit is contained in:
Petr Viktorin
2014-12-18 10:22:24 +01:00
committed by Tomas Babej
parent 8add23d401
commit 07545569ec
3 changed files with 813 additions and 1232 deletions

File diff suppressed because it is too large Load Diff