Files
aptly/system/t03_bad_config/__init__.py
2014-01-20 23:39:25 +04:00

19 lines
311 B
Python

"""
Start with bad config.
"""
import os
from lib import BaseTest
class Test(BaseTest):
runCmd = "aptly"
expectedCode = 1
def prepare(self):
self.prepare_remove_all()
f = open(os.path.join(os.environ["HOME"], ".aptly.conf"), "w")
f.write("{some crap")
f.close()