Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <[email protected]>
  • Loading branch information
pingsutw committed Mar 21, 2024
1 parent ab82e36 commit 167527a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/flytekit-spark/tests/test_remote_register.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,7 @@ def my_python_task(a: str) -> int:

# Check if the serialized python task has no mainApplicaitonFile field set by default.
assert serialized_spec.template.custom is None

remote.register_task(my_python_task, version="v1")
serialized_spec = mock_client.create_task.call_args.kwargs["task_spec"]
assert serialized_spec.template.custom is None

0 comments on commit 167527a

Please sign in to comment.