From dbad2a4c166a162a703d368bc8d946d2fc9e32ac Mon Sep 17 00:00:00 2001 From: Daniel Holbach Date: Sun, 28 Oct 2012 03:26:14 +0800 Subject: Add simple autopkgtest to the package --- debian/tests/python | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 debian/tests/python (limited to 'debian/tests/python') diff --git a/debian/tests/python b/debian/tests/python new file mode 100644 index 0000000..5fa3338 --- /dev/null +++ b/debian/tests/python @@ -0,0 +1,22 @@ +#!/bin/sh + +python < + + + +]> + +""") +elem = doc.getRootElement() +attr = elem.hasNsProp('attr', 'http://abc.org') +if attr == None or attr.serialize()[:-1] != """""": + print("Failed to find defaulted attribute abc:attr") + sys.exit(1) +doc.freeDoc() +EOF -- cgit v1.2.3