Skip to content

Updated parsing of problem.yaml by using checks as described in the specification #295

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from
4 changes: 2 additions & 2 deletions problemtools/tests/test_verify_hello.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ def test_load_hello():
verify.initialize_logging(args)
context = verify.Context(args, None)

with verify.Problem(string) as p:
with verify.Problem(string, args) as p:
assert p.shortname == "hello"
# pytest and fork don't go along very well, so just run aspects that work without run
assert p.getProblemPart(verify.ProblemConfig).check(context)
assert p.getProblemPart(verify.ProblemConfigLegacy).check(context)
assert p.getProblemPart(verify.Attachments).check(context)
Loading