From 243703f7ac97080e0d876a20bd02b1ae44ec630c Mon Sep 17 00:00:00 2001 From: Iain Lane Date: Wed, 3 Jun 2020 13:33:54 +0100 Subject: [PATCH] test_autopkgtest: Split setup commands into a separate class This lets other policies share this code for their integration tests --- tests/test_autopkgtest.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_autopkgtest.py b/tests/test_autopkgtest.py index 89c24f2..1ec1752 100644 --- a/tests/test_autopkgtest.py +++ b/tests/test_autopkgtest.py @@ -34,7 +34,7 @@ ON_ALL_ARCHES = {'on-architectures': ['amd64', 'arm64', 'armhf', 'i386', 'powerp 'on-unimportant-architectures': []} -class T(TestBase): +class TestAutopkgtestBase(TestBase): '''AMQP/cloud interface''' ################################################################ @@ -162,6 +162,8 @@ class T(TestBase): return (out, excuses_dict, excuses_html) + +class AT(TestAutopkgtestBase): ################################################################ # Tests for generic packages ################################################################