test_autopkgtest: Split setup commands into a separate class

This lets other policies share this code for their integration tests
This commit is contained in:
Iain Lane 2020-06-03 13:33:54 +01:00 committed by Iain Lane
parent 843751c5cf
commit 243703f7ac
No known key found for this signature in database
GPG Key ID: E352D5C51C5041D4

View File

@ -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
################################################################