Skip to content

Commit

Permalink
tests: remove duplicate method
Browse files Browse the repository at this point in the history
tests/NodeSetTest.py:2033:4: E0102: method already defined line 2028 (function-redefined)

And get rid of usleep which is not available anymore.
  • Loading branch information
thiell committed Sep 17, 2023
1 parent 689ba71 commit 6207af8
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/TaskLocalMixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,18 +118,6 @@ def testSimpleCommandNoTimeout(self):
except TimeoutError:
self.fail("did detect timeout")

def testSimpleCommandNoTimeout(self):
task = task_self()

# init worker
worker = task.shell("/bin/usleep 900000")

try:
# run task
task.resume(1)
except TimeoutError:
self.fail("did detect timeout")

def testWorkersTimeout(self):
task = task_self()

Expand Down

0 comments on commit 6207af8

Please sign in to comment.