System test, first sketch.

This commit is contained in:
Andrey Smirnov
2014-01-20 23:39:25 +04:00
parent f1d892c759
commit 0f902ee74b
9 changed files with 173 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
"""
Test config file generation.
"""
import os
from lib import BaseTest
class Test(BaseTest):
runCmd = "aptly"
checkedFile = os.path.join(os.environ["HOME"], ".aptly.conf")
check = BaseTest.check_file
gold_processor = BaseTest.expand_environ
prepare = BaseTest.prepare_remove_all
+8
View File
@@ -0,0 +1,8 @@
{
"rootDir": "${HOME}/.aptly",
"downloadConcurrency": 4,
"architectures": [],
"dependencyFollowSuggests": false,
"dependencyFollowRecommends": false,
"dependencyFollowAllVariants": false
}