git://git.onelab.eu
/
nepi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replacing assertEquals into assertEqual
[nepi.git]
/
test
/
execution
/
ec.py
diff --git
a/test/execution/ec.py
b/test/execution/ec.py
index
40d66c0
..
ff7a8fa
100755
(executable)
--- a/
test/execution/ec.py
+++ b/
test/execution/ec.py
@@
-41,7
+41,7
@@
class ExecuteControllersTestCase(unittest.TestCase):
time.sleep(1)
time.sleep(1)
- self.assertEqual
s
('hola!', task.result)
+ self.assertEqual('hola!', task.result)
ec.shutdown()
ec.shutdown()
@@
-74,7
+74,7
@@
class ExecuteControllersTestCase(unittest.TestCase):
# When this task is executed and the error raise,
# the FailureManager should set its failure level to
# TASK_FAILURE
# When this task is executed and the error raise,
# the FailureManager should set its failure level to
# TASK_FAILURE
- raise RuntimeError
, "NOT A REAL ERROR. JUST TESTING!"
+ raise RuntimeError
("NOT A REAL ERROR. JUST TESTING!")
ec = ExperimentController()
ec = ExperimentController()
@@
-87,7
+87,7
@@
class ExecuteControllersTestCase(unittest.TestCase):
time.sleep(1)
time.sleep(1)
- self.assertEqual
s
(task.status, TaskStatus.ERROR)
+ self.assertEqual(task.status, TaskStatus.ERROR)
if __name__ == '__main__':
unittest.main()
if __name__ == '__main__':
unittest.main()