Skip to content

Commit

Permalink
fix2
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobgy committed Dec 8, 2021
1 parent a2aa571 commit 18d796b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
6 changes: 2 additions & 4 deletions samples/test/lightweight_python_functions_v2_pipeline_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ def verify(run: kfp_server_api.ApiRun, mlmd_connection_config, **kwargs):
t.assertEqual(
{
'inputs': {
'artifacts': [],
'parameters': {
'message': 'message',
}
Expand Down Expand Up @@ -93,8 +92,8 @@ def verify(run: kfp_server_api.ApiRun, mlmd_connection_config, **kwargs):
'parameters': {
'input_bool': True,
'input_dict': {
"A": 1,
"B": 2
"A": 1.0,
"B": 2.0,
},
'input_list': ["a", "b", "c"],
'message': 'message'
Expand All @@ -110,7 +109,6 @@ def verify(run: kfp_server_api.ApiRun, mlmd_connection_config, **kwargs):
'name': 'model',
'type': 'system.Model'
}],
'parameters': {}
},
'type': 'system.ContainerExecution',
'state': Execution.State.COMPLETE,
Expand Down
5 changes: 0 additions & 5 deletions samples/test/metrics_visualization_v2_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,6 @@ def verify(t: unittest.TestCase, run: kfp_server_api.ApiRun,

t.assertEqual(
{
'inputs': {
'artifacts': [],
'parameters': {}
},
'name': 'digit-classification',
'outputs': {
'artifacts': [{
Expand All @@ -167,7 +163,6 @@ def verify(t: unittest.TestCase, run: kfp_server_api.ApiRun,
'name': 'metrics',
'type': 'system.Metrics'
}],
'parameters': {}
},
'type': 'system.ContainerExecution',
'state': Execution.State.COMPLETE,
Expand Down

0 comments on commit 18d796b

Please sign in to comment.