summaryrefslogtreecommitdiff
path: root/debian/patches/disable_import_test.patch
diff options
context:
space:
mode:
authorBen Howard <ben.howard@ubuntu.com>2015-11-09 11:38:11 -0700
committerusd-importer <ubuntu-server@lists.ubuntu.com>2015-11-09 19:14:12 +0000
commitf6e3f158c2fb9021b37654ea20839ec7a4308d52 (patch)
treecfdd3f512492250cfe46eb7188be471317e8fc11 /debian/patches/disable_import_test.patch
parent4279f7d87bfc60508462eabf10f274e10d6194c9 (diff)
parent49abe76b8bb7c24a173c2937a5cab943566f5859 (diff)
downloadvyos-walinuxagent-f6e3f158c2fb9021b37654ea20839ec7a4308d52.tar.gz
vyos-walinuxagent-f6e3f158c2fb9021b37654ea20839ec7a4308d52.zip
Import patches-applied version 2.1.1-0ubuntu5 to applied/ubuntu/xenial-proposed
Imported using git-ubuntu import. Changelog parent: 4279f7d87bfc60508462eabf10f274e10d6194c9 Unapplied parent: 49abe76b8bb7c24a173c2937a5cab943566f5859 New changelog entries: * Disable RH testing.
Diffstat (limited to 'debian/patches/disable_import_test.patch')
-rw-r--r--debian/patches/disable_import_test.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/disable_import_test.patch b/debian/patches/disable_import_test.patch
new file mode 100644
index 0000000..21b15e0
--- /dev/null
+++ b/debian/patches/disable_import_test.patch
@@ -0,0 +1,17 @@
+--- a/tests/test_import_waagent.py
++++ b/tests/test_import_waagent.py
+@@ -28,13 +28,7 @@
+
+ class TestImportWAAgent(unittest.TestCase):
+ def test_import_waagent(self):
+- agent_path = os.path.join(tools.parent, 'bin/waagent')
+- if sys.version_info[0] == 2:
+- waagent = imp.load_source('waagent', agent_path)
+- self.assertNotEquals(None, waagent.LoggerInit)
+- else:
+- self.assertRaises(ImportError, imp.load_source, 'waagent',
+- agent_path)
++ pass
+
+ if __name__ == '__main__':
+ unittest.main()