logs
This commit is contained in:
parent
1f3cf222de
commit
75cb067285
@ -142,7 +142,7 @@ for root in DATA_ROOT, EXTRA_FILES_ROOT:
|
|||||||
|
|
||||||
SOLUTIONS_ROOT = os.path.join(DATA_ROOT, "solutions")
|
SOLUTIONS_ROOT = os.path.join(DATA_ROOT, "solutions")
|
||||||
|
|
||||||
RABBIT_HOST = HOST
|
RABBIT_HOST = "0.0.0.0"
|
||||||
RABBIT_PORT = 5672
|
RABBIT_PORT = 5672
|
||||||
|
|
||||||
FS_HOST = "http://" + HOST
|
FS_HOST = "http://" + HOST
|
||||||
|
@ -37,7 +37,7 @@ class BaseTester:
|
|||||||
if code != 0:
|
if code != 0:
|
||||||
raise TestException("RE")
|
raise TestException("RE")
|
||||||
result = open(join(self.solution.testing_directory, "output.txt"), "r").read()
|
result = open(join(self.solution.testing_directory, "output.txt"), "r").read()
|
||||||
print("got result")
|
print("got result", result)
|
||||||
if result.strip() != self.predicted.strip():
|
if result.strip() != self.predicted.strip():
|
||||||
raise TestException("WA")
|
raise TestException("WA")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user