summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/bugs/lp1628337.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cloud_tests/testcases/bugs/lp1628337.py')
-rw-r--r--tests/cloud_tests/testcases/bugs/lp1628337.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/cloud_tests/testcases/bugs/lp1628337.py b/tests/cloud_tests/testcases/bugs/lp1628337.py
new file mode 100644
index 00000000..af0ffc75
--- /dev/null
+++ b/tests/cloud_tests/testcases/bugs/lp1628337.py
@@ -0,0 +1,23 @@
+# This file is part of cloud-init. See LICENSE file for license information.
+
+"""cloud-init Integration Test Verify Script"""
+from tests.cloud_tests.testcases import base
+
+
+class TestLP1628337(base.CloudTestCase):
+ """Test LP# 1511485"""
+
+ def test_fetch_indices(self):
+ """Verify no apt errors"""
+ out = self.get_data_file('cloud-init-output.log')
+ self.assertNotIn('W: Failed to fetch', out)
+ self.assertNotIn('W: Some index files failed to download. '
+ 'They have been ignored, or old ones used instead.',
+ out)
+
+ def test_ntp(self):
+ """Verify can find ntp and install it"""
+ out = self.get_data_file('cloud-init-output.log')
+ self.assertNotIn('E: Unable to locate package ntp', out)
+
+# vi: ts=4 expandtab