commit | e095c8cf1c788ed7c5af1d3073bbf955b78f1b39 | [log] [tgz] |
---|---|---|
author | Joshua Hesketh <josh@nitrotech.org> | Thu Jan 16 19:19:34 2014 +1100 |
committer | Joshua Hesketh <josh@nitrotech.org> | Mon Jan 20 11:27:39 2014 +1100 |
tree | c834b288b3a267a8c2cb6f97bdda89235a16acac | |
parent | 9177876e16ed5d8963b029271342c539d634daac [diff] [blame] |
Add tests for task_step Change-Id: I9f7ec4633e91264b6821ae3edb3a021e8843553d
diff --git a/tests/fakes.py b/tests/fakes.py index a4b3b60..07bac13 100644 --- a/tests/fakes.py +++ b/tests/fakes.py
@@ -299,3 +299,11 @@ qlen = (len(self.high_queue) + len(self.normal_queue) + len(self.low_queue)) self.log.debug("done releasing queued jobs %s (%s)" % (regex, qlen)) + + +class FakeJob(object): + def __init__(self): + pass + + def sendWorkStatus(self, *args, **kwargs): + pass