summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Andres <ma@suse.de>2014-01-19 16:29:35 +0100
committerMichael Andres <ma@suse.de>2014-01-19 16:29:35 +0100
commit422ec19429fa8b61ece972b888096b18a9272f46 (patch)
treeba60a9af2ad88a748eb8b9eeeef8f00cc6f9a6fe
parent623259e1c0189036ee933b1270692997a44f0081 (diff)
downloadlibzypp-bindings-422ec19429fa8b61ece972b888096b18a9272f46.tar.gz
libzypp-bindings-422ec19429fa8b61ece972b888096b18a9272f46.tar.bz2
libzypp-bindings-422ec19429fa8b61ece972b888096b18a9272f46.zip
disabled broken dump tests
It's IMO not bindings task to test and fail if libzypp reformats output or adds new attributes.
-rw-r--r--swig/python/tests/repoinfo.py21
1 files changed, 12 insertions, 9 deletions
diff --git a/swig/python/tests/repoinfo.py b/swig/python/tests/repoinfo.py
index 8fdc3b0..ef7f545 100644
--- a/swig/python/tests/repoinfo.py
+++ b/swig/python/tests/repoinfo.py
@@ -54,17 +54,20 @@ class RepoInfoTestCase(unittest.TestCase):
baseurls = self.info.baseUrls()
assert len(baseurls) == 1
- def testDump(self):
- out = self.info.dump()
- assert len(out) > 300, 'Invalid output length %d' % len(out)
+ # ma: disabled broken dump tests. It's IMO not bindings task to test and fail
+ # if libzypp reformats output or adds new attributes.
- def testDumpIni(self):
- out = self.info.dumpAsIni()
- assert len(out) == 208, 'Invalid output length %d' % len(out)
+ #def testDump(self):
+ #out = self.info.dump()
+ #assert len(out) > 300, 'Invalid output length %d' % len(out)
- def testDumpXML(self):
- out = self.info.dumpAsXML()
- assert len(out) == 253, 'Invalid output length %d' % len(out)
+ #def testDumpIni(self):
+ #out = self.info.dumpAsIni()
+ #assert len(out) == 208, 'Invalid output length %d' % len(out)
+
+ #def testDumpXML(self):
+ #out = self.info.dumpAsXML()
+ #assert len(out) == 253, 'Invalid output length %d' % len(out)
if __name__ == "__main__":
unittest.main()