File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
healthcare/api-client/fhir Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 2929service_account_json = os .environ ["GOOGLE_APPLICATION_CREDENTIALS" ]
3030
3131bundle = os .path .join (os .path .dirname (__file__ ), "resources/execute_bundle.json" )
32- dataset_id = "test_dataset_{}" .format (str ( uuid .uuid4 () ))
33- fhir_store_id = "test_fhir_store-{}" .format (str ( uuid .uuid4 () ))
32+ dataset_id = "test_dataset_{}" .format (uuid .uuid4 ())
33+ fhir_store_id = "test_fhir_store-{}" .format (uuid .uuid4 ())
3434resource_type = "Patient"
3535
3636
Original file line number Diff line number Diff line change 1616import pytest
1717import sys
1818import time
19+ import uuid
1920
2021from google .cloud import exceptions , storage
2122
2829project_id = os .environ ["GOOGLE_CLOUD_PROJECT" ]
2930service_account_json = os .environ ["GOOGLE_APPLICATION_CREDENTIALS" ]
3031
31- dataset_id = "test_dataset_{}" .format (int ( time . time () ))
32- fhir_store_id = "test_fhir_store-{}" .format (int ( time . time () ))
32+ dataset_id = "test_dataset_{}" .format (uuid . uuid4 ( ))
33+ fhir_store_id = "test_fhir_store-{}" .format (uuid . uuid4 ( ))
3334
3435gcs_uri = os .environ ["CLOUD_STORAGE_BUCKET" ]
3536RESOURCES = os .path .join (os .path .dirname (__file__ ), "resources" )
You can’t perform that action at this time.
0 commit comments