We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9697fd commit 029bbfbCopy full SHA for 029bbfb
enochecker_test/tests.py
@@ -634,7 +634,11 @@ def _do_exploit_run(
634
checker_url,
635
)
636
print(found_flag)
637
- return found_flag == flag, None
+ if found_flag == flag:
638
+ return True, None
639
+
640
+ return False, Exception(f"Found flag is incorrect. Expected: {flag}. Found: {found_flag}")
641
642
except Exception as e:
643
return False, e
644
pyproject.toml
@@ -1,6 +1,6 @@
1
[tool.poetry]
2
name = "enochecker_test"
3
-version = "0.10.0"
+version = "0.10.1"
4
description = "Library to help testing checker scripts based on enochecker"
5
authors = ["ldruschk <[email protected]>"]
6
license = "MIT"
0 commit comments