Skip to content

Commit

Permalink
Merge pull request #65 from Miksus/test/fix_windows
Browse files Browse the repository at this point in the history
test: fix name error on windows
  • Loading branch information
Miksus authored Jul 23, 2022
2 parents 1995c7d + 590b7d0 commit b837b8b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions rocketry/test/session/params/test_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,7 @@ def test_session_with_arg(session, execution):

assert task.status is None
session.start()
if platform.system() == "Windows" and execution == "process" and (materialize == "post" or (materialize is None and config_mater in ("post", None))):
# Windows cannot pickle the session but apparently Linux can
assert "fail" == task.status
else:
assert "success" == task.status
assert "success" == task.status

@pytest.mark.parametrize("config_mater", ['pre', 'post', None])
@pytest.mark.parametrize("materialize", ['pre', 'post', None])
Expand Down

0 comments on commit b837b8b

Please sign in to comment.