"dependencies" break down into three categories:
Since the latter two require some naming cleverness, I'll let them stew and just implement class-wide requirements for now. It looks like ping is the only thing that actually works as a target, which simplifies things further...
So now we have a set()
of results to test against, of which only "DOWN
machinename" is currently implemented, and a decorator to fail a test
if self.machine
is listed as DOWN. This means the pings have to be
explicitly run first for them to matter. Also, this underlying
structure should be easy to use for instance prerequistes, once I
figure out how to name them.
Future additions:
bad_probes
tests for the rest of the ping dependencies