mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
System test. #193
This commit is contained in:
@@ -283,3 +283,15 @@ class AddRepo14Test(BaseTest):
|
|||||||
super(AddRepo14Test, self).check()
|
super(AddRepo14Test, self).check()
|
||||||
# check pool
|
# check pool
|
||||||
self.check_file_not_empty('pool/00/35/libboost-program-options-dev_1.49.0.1_i386.deb')
|
self.check_file_not_empty('pool/00/35/libboost-program-options-dev_1.49.0.1_i386.deb')
|
||||||
|
|
||||||
|
|
||||||
|
class AddRepo15Test(BaseTest):
|
||||||
|
"""
|
||||||
|
add package with wrong case in stanza and missing fields
|
||||||
|
"""
|
||||||
|
fixtureCmds = [
|
||||||
|
"aptly repo create -comment=Repo15 -distribution=squeeze repo15",
|
||||||
|
]
|
||||||
|
runCmd = "aptly repo add repo15 ${testfiles}"
|
||||||
|
outputMatchPrepare = lambda self, s: s.replace(os.path.join(os.path.dirname(inspect.getsourcefile(self.__class__)), self.__class__.__name__), "").replace(os.path.join(os.path.dirname(inspect.getsourcefile(BaseTest)), "files"), "")
|
||||||
|
expectedCode = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user