Skip to content

Commit

Permalink
chore: add labels to expected payload in device_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rrkumarshikhar committed Jun 17, 2024
1 parent 3348162 commit 50ae1ee
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions tests/device_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,8 @@ def test_create_device_dockercompose_success(self, mock_request):
'runtime_docker': True,
'ros_distro': 'melodic',
'rosbag_mount_path': 'test/path'
}
},
'labels': {}
}
expected_create_device_url = 'https://gaapiserver.apps.okd4v2.prod.rapyuta.io/api/device-manager/v0/auth-keys/?download_type=script'
expected_get_device_url = 'https://gaapiserver.apps.okd4v2.prod.rapyuta.io/api/device-manager/v0/devices/test-device-id'
Expand Down Expand Up @@ -610,7 +611,8 @@ def test_create_device_preinstalled_success(self, mock_request):
'runtime_preinstalled': True,
'ros_distro': 'melodic',
'ros_workspace': 'test/path'
}
},
'labels': {}
}
expected_create_device_url = 'https://gaapiserver.apps.okd4v2.prod.rapyuta.io/api/device-manager/v0/auth-keys/?download_type=script'
expected_get_device_url = 'https://gaapiserver.apps.okd4v2.prod.rapyuta.io/api/device-manager/v0/devices/test-device-id'
Expand Down Expand Up @@ -655,7 +657,8 @@ def test_create_device_dockercompose_success(self, mock_request):
'runtime_preinstalled': True,
'ros_distro': 'melodic',
'rosbag_mount_path': 'test/path'
}
},
'labels': {}
}
expected_create_device_url = 'https://gaapiserver.apps.okd4v2.prod.rapyuta.io/api/device-manager/v0/auth-keys/?download_type=script'
expected_get_device_url = 'https://gaapiserver.apps.okd4v2.prod.rapyuta.io/api/device-manager/v0/devices/test-device-id'
Expand Down Expand Up @@ -893,7 +896,8 @@ def test_create_device_python3_dockercompose_success(self, mock_request):
'runtime_docker': True,
'ros_distro': 'melodic',
'rosbag_mount_path': 'test/path'
}
},
'labels': {}
}
expected_create_device_url = 'https://gaapiserver.apps.okd4v2.prod.rapyuta.io/api/device-manager/v0/auth-keys/?download_type=script'
expected_get_device_url = 'https://gaapiserver.apps.okd4v2.prod.rapyuta.io/api/device-manager/v0/devices/test-device-id'
Expand Down

0 comments on commit 50ae1ee

Please sign in to comment.