mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-10 06:14:22 +00:00
Test for config show. #123
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"rootDir": "${HOME}/.aptly",
|
||||||
|
"downloadConcurrency": 4,
|
||||||
|
"downloadSpeedLimit": 0,
|
||||||
|
"architectures": [],
|
||||||
|
"dependencyFollowSuggests": false,
|
||||||
|
"dependencyFollowRecommends": false,
|
||||||
|
"dependencyFollowAllVariants": false,
|
||||||
|
"dependencyFollowSource": false,
|
||||||
|
"gpgDisableSign": false,
|
||||||
|
"gpgDisableVerify": false,
|
||||||
|
"downloadSourcePackages": false,
|
||||||
|
"ppaDistributorID": "ubuntu",
|
||||||
|
"ppaCodename": "",
|
||||||
|
"S3PublishEndpoints": {}
|
||||||
|
}
|
||||||
@@ -55,3 +55,11 @@ class ConfigInMissingFileTest(BaseTest):
|
|||||||
runCmd = ["aptly", "mirror", "list", "-config=nosuchfile.conf"]
|
runCmd = ["aptly", "mirror", "list", "-config=nosuchfile.conf"]
|
||||||
expectedCode = 1
|
expectedCode = 1
|
||||||
prepare = BaseTest.prepare_remove_all
|
prepare = BaseTest.prepare_remove_all
|
||||||
|
|
||||||
|
|
||||||
|
class ConfigShowTest(BaseTest):
|
||||||
|
"""
|
||||||
|
config showing
|
||||||
|
"""
|
||||||
|
runCmd = ["aptly", "config", "show"]
|
||||||
|
gold_processor = BaseTest.expand_environ
|
||||||
|
|||||||
Reference in New Issue
Block a user