Fix flake8 lint errors

This commit is contained in:
Lorenzo Bolla
2022-01-25 14:50:31 +01:00
parent 3775d69a60
commit 7412b84e04
2 changed files with 3 additions and 1 deletions

View File

@@ -38,12 +38,14 @@ class ListRepo4Test(BaseTest):
]
runCmd = "aptly repo list -raw"
class ListRepo5Test(BaseTest):
"""
list local repo: json no repos
"""
runCmd = "aptly repo list -json"
class ListRepo6Test(BaseTest):
"""
list local repo: json normal

View File

@@ -205,7 +205,7 @@ class SnapshotsAPITestCreateDelete(APITest):
"Architectures": ["i386"],
"Sources": [{"Name": snap2}],
"Signing": DefaultSigningOptions,
}
}
)
self.check_equal(resp.json()['State'], 2)