[Python-modules-commits] r27540 - in packages/checkbox-ng/trunk/debian (3 files)
spineau-guest at users.alioth.debian.org
spineau-guest at users.alioth.debian.org
Tue Feb 4 20:48:14 UTC 2014
Date: Tuesday, February 4, 2014 @ 20:48:14
Author: spineau-guest
Revision: 27540
debian/patches: Fix unit tests to comply with recent upload of python 3.3.4
Fix a build failure caused by the recent upload of python 3.3.4 which
included updates to the standard library argparse module. Those changes
caused slight change in the contents of the command usage help message.
Added:
packages/checkbox-ng/trunk/debian/patches/
packages/checkbox-ng/trunk/debian/patches/command_usage_python3.3.4.patch
packages/checkbox-ng/trunk/debian/patches/series
Added: packages/checkbox-ng/trunk/debian/patches/command_usage_python3.3.4.patch
===================================================================
--- packages/checkbox-ng/trunk/debian/patches/command_usage_python3.3.4.patch (rev 0)
+++ packages/checkbox-ng/trunk/debian/patches/command_usage_python3.3.4.patch 2014-02-04 20:48:14 UTC (rev 27540)
@@ -0,0 +1,25 @@
+Description: Fix unit test to comply with recent upload of python 3.3.4
+ Fix a build failure caused by the recent upload of python 3.3.4 which
+ included updates to the standard library argparse module. Those changes
+ caused slight change in the contents of the command usage help message.
+Author: Sylvain Pineau <sylvain.pineau at canonical.com>
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/checkbox_ng/test_main.py
++++ b/checkbox_ng/test_main.py
+@@ -51,7 +51,6 @@ class TestMain(TestCase):
+ expected = """
+ usage: checkbox [-h] [--version] [-c {src,deb,auto,stub,ihv}] [-v] [-D] [-C]
+ [-T LOGGER] [-P] [-I]
+-
+ {sru,check-config,script,dev,checkbox-cli,driver-test-suite-cli,certification-server,service}
+ ...
+
+@@ -95,7 +94,6 @@ class TestMain(TestCase):
+ expected = """
+ usage: checkbox [-h] [--version] [-c {src,deb,auto,stub,ihv}] [-v] [-D] [-C]
+ [-T LOGGER] [-P] [-I]
+-
+ {sru,check-config,script,dev,checkbox-cli,driver-test-suite-cli,certification-server,service}
+ ...
+ checkbox: error: too few arguments
Added: packages/checkbox-ng/trunk/debian/patches/series
===================================================================
--- packages/checkbox-ng/trunk/debian/patches/series (rev 0)
+++ packages/checkbox-ng/trunk/debian/patches/series 2014-02-04 20:48:14 UTC (rev 27540)
@@ -0,0 +1 @@
+command_usage_python3.3.4.patch
More information about the Python-modules-commits
mailing list