Permalink
Browse files

add error method to FakePBS

  • Loading branch information...
1 parent d862bbc commit 7f1a7218bafe2807a95c8dcbb36614e44013c23e @pdmars pdmars committed May 6, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 epu/test/test_torque.py
View
3 epu/test/test_torque.py
@@ -134,6 +134,9 @@ def set_worker_status(self, name, status):
self.status.append(Mock(name=name,
attribs=[Mock(name="state", value=status)]))
+ def error(self):
+ return 0, 'no error'
+
class TestSubscriber(Process):
def __init__(self, *args, **kwargs):
Process.__init__(self, *args, **kwargs)

0 comments on commit 7f1a721

Please sign in to comment.