commit e4d3ebab306091cc01236858309fe16a62d7c90c
Author: Michael Simacek <msimacek(a)redhat.com>
Date: Wed Jan 29 11:12:33 2014 +0100
[test] expect wrapped expection in pom.py
python/test/pom_test.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/python/test/pom_test.py b/python/test/pom_test.py
index c98decd..e81240a 100644
--- a/python/test/pom_test.py
+++ b/python/test/pom_test.py
@@ -17,7 +17,7 @@ def pomfile(fname):
class TestPOM(unittest.TestCase):
- @exception_expected(IOError)
+ @exception_expected(PomLoadingException)
@pomfile("NULL_FILE.pom.xml")
def test_nonexisting_pom(self, p):
self.assertTrue(False, "IOError was expected!")
Show replies by date