Add system's requirements.txt, enforce flake8 linter

Fix style issues in functional tests.
This commit is contained in:
Andrey Smirnov
2017-04-27 18:58:15 +03:00
parent 7a7b981d4f
commit c798db8056
44 changed files with 334 additions and 260 deletions
+3 -3
View File
@@ -8,10 +8,9 @@ import signal
import subprocess
import shlex
import time
import errno
from lib import BaseTest
from socket import error as socket_error
class RootDirInaccessible(BaseTest):
"""
@@ -21,12 +20,13 @@ class RootDirInaccessible(BaseTest):
fixturePool = False
configOverride = {
"rootDir": "/root" # any directory that exists but is not writable
"rootDir": "/root" # any directory that exists but is not writable
}
runCmd = "aptly serve -listen=127.0.0.1:8765"
expectedCode = 1
class Serve1Test(BaseTest):
"""
serve public: two publishes, verify HTTP