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
commit04946cba49f19c0b6b876bccdbb36d47334af002 (patch)
tree3a9fb4a42fa158de7a71ef5434d68ac09d4a247c /debian/patches/disable_import_test.patch
parent325a43b8bf4b1d8e9f02848423c3b19c3ad8071d (diff)
downloadvyos-walinuxagent-04946cba49f19c0b6b876bccdbb36d47334af002.tar.gz
vyos-walinuxagent-04946cba49f19c0b6b876bccdbb36d47334af002.zip
Import patches-unapplied version 2.1.1-0ubuntu5 to ubuntu/xenial-proposed
Imported using git-ubuntu import. Changelog parent: 325a43b8bf4b1d8e9f02848423c3b19c3ad8071d 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()