Fix unittests

This commit is contained in:
Lorenzo Bolla
2021-11-02 10:59:08 +01:00
parent fb8b05e7fd
commit 370e3cdfea
4 changed files with 14 additions and 4 deletions

View File

@@ -46,6 +46,7 @@ class PublishAPITestRepo(APITest):
'Origin': '',
'NotAutomatic': '',
'ButAutomaticUpgrades': '',
'Path': prefix + '/' + 'wheezy',
'Prefix': prefix,
'SkipContents': False,
'SourceKind': 'local',
@@ -90,6 +91,7 @@ class PublishAPITestRepo(APITest):
'Origin': '',
'NotAutomatic': '',
'ButAutomaticUpgrades': '',
'Path': './' + distribution,
'Prefix': ".",
'SkipContents': False,
'SourceKind': 'local',
@@ -167,6 +169,7 @@ class PublishSnapshotAPITest(APITest):
'Origin': 'earth',
'NotAutomatic': 'yes',
'ButAutomaticUpgrades': 'yes',
'Path': prefix + '/' + 'squeeze',
'Prefix': prefix,
'SkipContents': False,
'SourceKind': 'snapshot',
@@ -251,6 +254,7 @@ class PublishUpdateAPITestRepo(APITest):
'Origin': '',
'NotAutomatic': '',
'ButAutomaticUpgrades': '',
'Path': prefix + '/' + 'wheezy',
'Prefix': prefix,
'SkipContents': False,
'SourceKind': 'local',
@@ -344,6 +348,7 @@ class PublishUpdateSkipCleanupAPITestRepo(APITest):
'Origin': '',
'NotAutomatic': '',
'ButAutomaticUpgrades': '',
'Path': prefix + '/' + 'wheezy',
'Prefix': prefix,
'SkipContents': False,
'SourceKind': 'local',
@@ -406,6 +411,7 @@ class PublishSwitchAPITestRepo(APITest):
'NotAutomatic': '',
'ButAutomaticUpgrades': '',
'Origin': '',
'Path': prefix + '/' + 'wheezy',
'Prefix': prefix,
'SkipContents': False,
'SourceKind': 'snapshot',
@@ -448,6 +454,7 @@ class PublishSwitchAPITestRepo(APITest):
'Origin': '',
'NotAutomatic': '',
'ButAutomaticUpgrades': '',
'Path': prefix + '/' + 'wheezy',
'Prefix': prefix,
'SkipContents': True,
'SourceKind': 'snapshot',
@@ -508,6 +515,7 @@ class PublishSwitchAPISkipCleanupTestRepo(APITest):
'NotAutomatic': '',
'ButAutomaticUpgrades': '',
'Origin': '',
'Path': prefix + '/' + 'wheezy',
'Prefix': prefix,
'SkipContents': False,
'SourceKind': 'snapshot',
@@ -543,6 +551,7 @@ class PublishSwitchAPISkipCleanupTestRepo(APITest):
'NotAutomatic': '',
'ButAutomaticUpgrades': '',
'Origin': '',
'Path': prefix + '/' + 'otherdist',
'Prefix': prefix,
'SkipContents': False,
'SourceKind': 'snapshot',
@@ -580,6 +589,7 @@ class PublishSwitchAPISkipCleanupTestRepo(APITest):
'Origin': '',
'NotAutomatic': '',
'ButAutomaticUpgrades': '',
'Path': prefix + '/' + 'wheezy',
'Prefix': prefix,
'SkipContents': True,
'SourceKind': 'snapshot',