mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-01-11 03:11:50 +00:00
19 lines
311 B
Python
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()
|