mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-31 04:30:44 +00:00
@@ -5,6 +5,7 @@ class RemoveRepo1Test(BaseTest):
|
||||
"""
|
||||
remove from local repo: as dep
|
||||
"""
|
||||
sortOutput = True
|
||||
fixtureCmds = [
|
||||
"aptly repo create -comment=Cool -distribution=squeeze local-repo",
|
||||
"aptly repo add local-repo ${files}"
|
||||
@@ -15,14 +16,12 @@ class RemoveRepo1Test(BaseTest):
|
||||
self.check_output()
|
||||
self.check_cmd_output("aptly repo show -with-packages local-repo", "repo_show")
|
||||
|
||||
def output_processor(self, output):
|
||||
return "\n".join(sorted(output.split("\n")))
|
||||
|
||||
|
||||
class RemoveRepo2Test(BaseTest):
|
||||
"""
|
||||
remove from local repo: as dep with version, key
|
||||
"""
|
||||
sortOutput = True
|
||||
fixtureCmds = [
|
||||
"aptly repo create -comment=Cool -distribution=squeeze local-repo",
|
||||
"aptly repo add local-repo ${files}"
|
||||
@@ -33,9 +32,6 @@ class RemoveRepo2Test(BaseTest):
|
||||
self.check_output()
|
||||
self.check_cmd_output("aptly repo show -with-packages local-repo", "repo_show")
|
||||
|
||||
def output_processor(self, output):
|
||||
return "\n".join(sorted(output.split("\n")))
|
||||
|
||||
|
||||
class RemoveRepo3Test(BaseTest):
|
||||
"""
|
||||
@@ -49,6 +45,7 @@ class RemoveRepo4Test(BaseTest):
|
||||
"""
|
||||
remove from local repo: dry run
|
||||
"""
|
||||
sortOutput = True
|
||||
fixtureCmds = [
|
||||
"aptly repo create -comment=Cool -distribution=squeeze local-repo",
|
||||
"aptly repo add local-repo ${files}"
|
||||
@@ -58,6 +55,3 @@ class RemoveRepo4Test(BaseTest):
|
||||
def check(self):
|
||||
self.check_output()
|
||||
self.check_cmd_output("aptly repo show -with-packages local-repo", "repo_show")
|
||||
|
||||
def output_processor(self, output):
|
||||
return "\n".join(sorted(output.split("\n")))
|
||||
|
||||
Reference in New Issue
Block a user