~ubuntu-branches/ubuntu/utopic/aptdaemon/utopic-proposed

« back to all changes in this revision

Viewing changes to debian/patches/disable-broken-test.patch

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2013-03-18 12:17:19 UTC
  • Revision ID: package-import@ubuntu.com-20130318121719-ds3zoo8mjdrebvor
Tags: 1.0-0ubuntu5
* Add pep8 build dependency as well, as tests are called during package
  build.
* disable-broken-test.patch: Disable harder, as a mere rename doesn't work
  with test auto-discovery.
* Add gir1.2-gtk-3.0 build and test dependencies so that gtk3widgets can
  import Gdk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
Index: aptdaemon-1.0/tests/test_high_trust_repository_whitelist.py
5
5
===================================================================
6
 
--- aptdaemon-1.0.orig/tests/test_high_trust_repository_whitelist.py    2012-12-30 00:41:03.000000000 +0100
7
 
+++ aptdaemon-1.0/tests/test_high_trust_repository_whitelist.py 2013-03-18 11:14:25.479110079 +0100
8
 
@@ -72,7 +72,7 @@
 
6
--- aptdaemon-1.0.orig/tests/test_high_trust_repository_whitelist.py    2013-03-18 11:50:38.867215265 +0100
 
7
+++ aptdaemon-1.0/tests/test_high_trust_repository_whitelist.py 2013-03-18 11:50:52.219215911 +0100
 
8
@@ -72,14 +72,6 @@
9
9
         self.worker.connect("transaction-simulated",
10
10
                             lambda w, t: self.loop.quit())
11
11
 
12
12
-    def test_read_high_trust_repository_whitelist_dir(self):
13
 
+    def disabled_test_read_high_trust_repository_whitelist_dir(self):
14
 
         whitelist = read_high_trust_repository_dir(
 
13
-        whitelist = read_high_trust_repository_dir(
 
14
-            os.path.join(aptdaemon.test.get_tests_dir(),
 
15
-                         "data/high-trust-repository-whitelist.d"))
 
16
-        self.assertEqual(
 
17
-            whitelist, set([("Ubuntu", "main", "foo.*"),
 
18
-                            ("Debian-Security", "non-free", "^bar$")]))
 
19
-
 
20
     def test_read_high_trust_repository_whitelist(self):
 
21
         whitelist = _read_high_trust_repository_whitelist_file(
15
22
             os.path.join(aptdaemon.test.get_tests_dir(),
16
 
                          "data/high-trust-repository-whitelist.d"))