Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy Wiggins authored and Roy Wiggins committed Feb 15, 2024
1 parent d1c8d9f commit bce7371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/dispatch/test_send.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_execute_successful_case(fs, mocked):
}
fs.create_file("/var/data/source/a/" + mercure_names.TASKFILE, contents=json.dumps(target))

mocked.patch("dispatch.target_types.base.check_output", return_value=b"Success")
mocked.patch("dispatch.target_types.base.check_output", return_value="Success")
execute(Path(source), Path(success), Path(error), 1, 1)

assert not Path(source).exists()
Expand Down

0 comments on commit bce7371

Please sign in to comment.