summaryrefslogtreecommitdiff
path: root/tests/test_import.py
diff options
context:
space:
mode:
authorDaniel Watkins <daniel.watkins@canonical.com>2016-09-13 16:11:47 +0100
committerusd-importer <ubuntu-server@lists.ubuntu.com>2016-09-14 10:39:12 +0000
commit5009a9d0f3606fc08a80ec0d59076d8dc48d2f25 (patch)
treead67eef74c5208178950db6ee28195e2137fa713 /tests/test_import.py
parent0f7cef5b52162d1ebb31a738bd8fc9febe1fbda6 (diff)
downloadvyos-walinuxagent-5009a9d0f3606fc08a80ec0d59076d8dc48d2f25.tar.gz
vyos-walinuxagent-5009a9d0f3606fc08a80ec0d59076d8dc48d2f25.zip
Import patches-unapplied version 2.1.5-0ubuntu1 to ubuntu/yakkety-proposed
Imported using git-ubuntu import. Changelog parent: 0f7cef5b52162d1ebb31a738bd8fc9febe1fbda6 New changelog entries: * New upstream release (LP: #1603581) - d/patches/disable-auto-update.patch: - The new version introduces auto-updating of the agent to its latest version via an internal mechanism; disable this - d/patches/fix_shebangs.patch: - Dropped in favour of the dh_python3 --shebang option. - Refreshed d/patches/disable_udev_overrides.patch
Diffstat (limited to 'tests/test_import.py')
-rw-r--r--tests/test_import.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/test_import.py b/tests/test_import.py
new file mode 100644
index 0000000..39a48ab
--- /dev/null
+++ b/tests/test_import.py
@@ -0,0 +1,26 @@
+from tests.tools import *
+import azurelinuxagent.common.osutil as osutil
+import azurelinuxagent.common.dhcp as dhcp
+import azurelinuxagent.common.protocol as protocol
+import azurelinuxagent.pa.provision as provision
+import azurelinuxagent.pa.deprovision as deprovision
+import azurelinuxagent.daemon as daemon
+import azurelinuxagent.daemon.resourcedisk as resourcedisk
+import azurelinuxagent.daemon.scvmm as scvmm
+import azurelinuxagent.ga.exthandlers as exthandlers
+import azurelinuxagent.ga.monitor as monitor
+import azurelinuxagent.ga.update as update
+
+class TestImportHandler(AgentTestCase):
+ def test_get_handler(self):
+ osutil.get_osutil()
+ protocol.get_protocol_util()
+ dhcp.get_dhcp_handler()
+ provision.get_provision_handler()
+ deprovision.get_deprovision_handler()
+ daemon.get_daemon_handler()
+ resourcedisk.get_resourcedisk_handler()
+ scvmm.get_scvmm_handler()
+ monitor.get_monitor_handler()
+ update.get_update_handler()
+ exthandlers.get_exthandlers_handler()