commit 726c2e06d00ce546d1bae42865c18044886195e4
Author: Stanislav Ochotnicky <sochotnicky(a)redhat.com>
Date: Wed Oct 2 15:58:47 2013 +0200
Deduplicate name of testcase
Also fix test for unexpected sub-elements in text nodes
python/test/pom_test.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/python/test/pom_test.py b/python/test/pom_test.py
index 89e4ee7..7f7b41e 100644
--- a/python/test/pom_test.py
+++ b/python/test/pom_test.py
@@ -51,7 +51,7 @@ class TestPOM(unittest.TestCase):
self.assertEqual(p.version, "3.1.3")
@pomfile("parent-version.pom")
- def test_no_xmlns(self, p):
+ def test_parent_version(self, p):
self.assertEqual(p.packaging, None)
self.assertEqual(p.groupId, "commons-lang")
self.assertEqual(p.artifactId, "commons-lang")
@@ -65,6 +65,7 @@ class TestPOM(unittest.TestCase):
@exception_expected(PomLoadingException)
@pomfile("junit-broken-subnode.pom")
def test_pom_broken_subnode(self, p):
+ p.version
self.fail("Broken POM succesfully loaded")
@pomfile("junit-comments.pom")
Show replies by date