summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/modules/apt_pipelining_os.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cloud_tests/testcases/modules/apt_pipelining_os.py')
-rw-r--r--tests/cloud_tests/testcases/modules/apt_pipelining_os.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/cloud_tests/testcases/modules/apt_pipelining_os.py b/tests/cloud_tests/testcases/modules/apt_pipelining_os.py
new file mode 100644
index 00000000..ad2a8884
--- /dev/null
+++ b/tests/cloud_tests/testcases/modules/apt_pipelining_os.py
@@ -0,0 +1,15 @@
+# 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 TestAptPipeliningOS(base.CloudTestCase):
+ """Test apt-pipelining module"""
+
+ def test_os_pipelining(self):
+ """Test pipelining set to os"""
+ out = self.get_data_file('90cloud-init-pipelining')
+ self.assertIn('Acquire::http::Pipeline-Depth "0";', out)
+
+# vi: ts=4 expandtab