def test_patch_dicom_store(test_dataset, capsys): dicom_stores.create_dicom_store( service_account_json, project_id, cloud_region, dataset_id, dicom_store_id) dicom_stores.patch_dicom_store( service_account_json, project_id, cloud_region, dataset_id, dicom_store_id, pubsub_topic) # Clean up dicom_stores.delete_dicom_store( service_account_json, project_id, cloud_region, dataset_id, dicom_store_id) out, _ = capsys.readouterr() assert 'Patched DICOM store' in out
def test_patch_dicom_store(test_dataset, test_dicom_store, capsys): dicom_stores.patch_dicom_store(project_id, cloud_region, dataset_id, dicom_store_id, pubsub_topic) out, _ = capsys.readouterr() assert "Patched DICOM store" in out
def test_patch_dicom_store(test_dataset, capsys): dicom_stores.create_dicom_store( service_account_json, api_key, project_id, cloud_region, dataset_id, dicom_store_id) dicom_stores.patch_dicom_store( service_account_json, api_key, project_id, cloud_region, dataset_id, dicom_store_id, pubsub_topic) # Clean up dicom_stores.delete_dicom_store( service_account_json, api_key, project_id, cloud_region, dataset_id, dicom_store_id) out, _ = capsys.readouterr() assert 'Patched DICOM store' in out