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
applied the except and raise fixers to the master branch to close the gap with py3
[nepi.git]
/
test
/
execution
/
resource.py
diff --git
a/test/execution/resource.py
b/test/execution/resource.py
index
188dbaf
..
0945e9b
100755
(executable)
--- a/
test/execution/resource.py
+++ b/
test/execution/resource.py
@@
-130,7
+130,7
@@
class ErrorApplication(ResourceManager):
self.ec.schedule("0.5s", self.deploy)
else:
time.sleep(random.random() * 2)
self.ec.schedule("0.5s", self.deploy)
else:
time.sleep(random.random() * 2)
- raise RuntimeError
, "NOT A REAL ERROR. JUST TESTING"
+ raise RuntimeError
("NOT A REAL ERROR. JUST TESTING")
class ResourceFactoryTestCase(unittest.TestCase):
def test_add_resource_factory(self):
class ResourceFactoryTestCase(unittest.TestCase):
def test_add_resource_factory(self):