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 29
29
service_account_json = os .environ ["GOOGLE_APPLICATION_CREDENTIALS" ]
30
30
31
31
bundle = 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 ())
34
34
resource_type = "Patient"
35
35
36
36
Original file line number Diff line number Diff line change 16
16
import pytest
17
17
import sys
18
18
import time
19
+ import uuid
19
20
20
21
from google .cloud import exceptions , storage
21
22
28
29
project_id = os .environ ["GOOGLE_CLOUD_PROJECT" ]
29
30
service_account_json = os .environ ["GOOGLE_APPLICATION_CREDENTIALS" ]
30
31
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 ( ))
33
34
34
35
gcs_uri = os .environ ["CLOUD_STORAGE_BUCKET" ]
35
36
RESOURCES = os .path .join (os .path .dirname (__file__ ), "resources" )
You can’t perform that action at this time.
0 commit comments