mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-01-12 03:21:33 +00:00
Fix tests by introducing stable sort. #80
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,4 @@
|
||||
|
||||
coreutils_8.13-3.5_amd64
|
||||
coreutils_8.13-3.5_i386
|
||||
coreutils_8.13-3.5_source
|
||||
coreutils_8.13-3.5_source
|
||||
@@ -6,6 +6,7 @@ class SearchPackage1Test(BaseTest):
|
||||
search package: regular search
|
||||
"""
|
||||
fixtureDB = True
|
||||
outputMatchPrepare = lambda _, s: "\n".join(sorted(s.split("\n")))
|
||||
runCmd = "aptly package search '$$Architecture (i386), Name (% *-dev)'"
|
||||
|
||||
|
||||
@@ -29,4 +30,5 @@ class SearchPackage4Test(BaseTest):
|
||||
search package: by dependency
|
||||
"""
|
||||
fixtureDB = True
|
||||
outputMatchPrepare = lambda _, s: "\n".join(sorted(s.split("\n")))
|
||||
runCmd = "aptly package search coreutils"
|
||||
|
||||
Reference in New Issue
Block a user