mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-21 10:58:23 +00:00
fix unit tests
This commit is contained in:
1 parent
65541a1df2
commit
aa4e225455
12 files changed
+33
-33
No files matched your search
@@ -47,8 +47,8 @@ class Serve1Test(BaseTest):
|
||||
proc.send_signal(signal.SIGINT)
|
||||
proc.wait()
|
||||
|
||||
if proc.returncode != 2:
|
||||
raise Exception("exit code %d != %d (output: %s)" % (proc.returncode, 2, output))
|
||||
if proc.returncode != -2:
|
||||
raise Exception("exit code %d != %d (output: %s)" % (proc.returncode, -2, output))
|
||||
self.output = output
|
||||
except Exception, e:
|
||||
raise Exception("Running command %s failed: %s" % (self.runCmd, str(e)))
|
||||
|
||||
Reference in new issue
Block a user