fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7de20e5
)
Usunięcie linijki do debugowania z TestParseErrors.test_error w testach biblioteki...
author
Marek Stępniowski
<marek@stepniowski.com>
Mon, 10 Aug 2009 15:27:49 +0000
(17:27 +0200)
committer
Marek Stępniowski
<marek@stepniowski.com>
Mon, 10 Aug 2009 15:27:49 +0000
(17:27 +0200)
lib/librarian/tests/__init__.py
patch
|
blob
|
history
diff --git
a/lib/librarian/tests/__init__.py
b/lib/librarian/tests/__init__.py
index
eeb7791
..
3f02541
100644
(file)
--- a/
lib/librarian/tests/__init__.py
+++ b/
lib/librarian/tests/__init__.py
@@
-102,15
+102,12
@@
class TestDCParser(unittest.TestCase):
class TestParserErrors(unittest.TestCase):
class TestParserErrors(unittest.TestCase):
-
def test_error(self):
try:
html.transform(test_file_path('erroneous', 'asnyk_miedzy_nami.xml'),
test_file_path('erroneous', 'asnyk_miedzy_nami.html'))
self.fail()
except etree.XMLSyntaxError, e:
def test_error(self):
try:
html.transform(test_file_path('erroneous', 'asnyk_miedzy_nami.xml'),
test_file_path('erroneous', 'asnyk_miedzy_nami.html'))
self.fail()
except etree.XMLSyntaxError, e:
- import ipdb; ipdb.set_trace()
-
self.assertEqual(e.position, (25, 13))
self.assertEqual(e.position, (25, 13))