summaryrefslogtreecommitdiff
path: root/tests/unittests/test_datasource/test_azure_helper.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-05-12 16:52:56 -0400
committerScott Moser <smoser@ubuntu.com>2016-05-12 16:52:56 -0400
commit811f7b5b3c4590ee4a16662db37b1f37541d9822 (patch)
tree48a886ea0a9857ce353eebe504048e656e1c6e92 /tests/unittests/test_datasource/test_azure_helper.py
parente5dff2d8683302845bde78553d09bd34dedfeebd (diff)
downloadvyos-cloud-init-811f7b5b3c4590ee4a16662db37b1f37541d9822.tar.gz
vyos-cloud-init-811f7b5b3c4590ee4a16662db37b1f37541d9822.zip
fix last flake8 error
Diffstat (limited to 'tests/unittests/test_datasource/test_azure_helper.py')
-rw-r--r--tests/unittests/test_datasource/test_azure_helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test_datasource/test_azure_helper.py b/tests/unittests/test_datasource/test_azure_helper.py
index 921bc978..d07a1f07 100644
--- a/tests/unittests/test_datasource/test_azure_helper.py
+++ b/tests/unittests/test_datasource/test_azure_helper.py
@@ -71,7 +71,7 @@ class TestFindEndpoint(TestCase):
def test_missing_special_azure_line(self):
self.load_file.return_value = ''
- self.assertRaises(Exception,
+ self.assertRaises(ValueError,
azure_helper.WALinuxAgentShim.find_endpoint)
@staticmethod