def test_import_dicom_instance(test_dataset, capsys): dicom_stores.create_dicom_store( service_account_json, project_id, cloud_region, dataset_id, dicom_store_id) dicom_stores.import_dicom_instance( service_account_json, project_id, cloud_region, dataset_id, dicom_store_id, content_uri) # Clean up dicom_stores.delete_dicom_store( service_account_json, project_id, cloud_region, dataset_id, dicom_store_id) out, _ = capsys.readouterr() assert 'Imported DICOM instance' in out
def test_import_dicom_instance(test_dataset, test_dicom_store, capsys): dicom_stores.import_dicom_instance(project_id, location, dataset_id, dicom_store_id, content_uri) out, _ = capsys.readouterr() assert "Imported DICOM instance" in out
def test_import_dicom_instance(test_dataset, capsys): dicom_stores.create_dicom_store( service_account_json, api_key, project_id, cloud_region, dataset_id, dicom_store_id) dicom_stores.import_dicom_instance( service_account_json, api_key, project_id, cloud_region, dataset_id, dicom_store_id, content_uri) # 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 'Imported DICOM instance' in out