Skip to content

Commit

Permalink
Add test for empty packages_to_install_command
Browse files Browse the repository at this point in the history
  • Loading branch information
judahrand committed Sep 8, 2021
1 parent e58aff7 commit 361142b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sdk/python/kfp/components_tests/test_python_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -1158,6 +1158,12 @@ def test_packages_to_install_feature(self):
self.helper_test_component_using_local_call(
task_factory2, arguments={}, expected_output_values={})

task_factory3 = comp.func_to_container_op(
dummy_in_0_out_0, packages_to_install=[], install_kfp_package=False)

self.helper_test_component_using_local_call(
task_factory3, arguments={}, expected_output_values={})

def test_component_annotations(self):

def some_func():
Expand Down

0 comments on commit 361142b

Please sign in to comment.