Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions healthcare/api-client/fhir/fhir_resources_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
service_account_json = os.environ["GOOGLE_APPLICATION_CREDENTIALS"]

bundle = os.path.join(os.path.dirname(__file__), "resources/execute_bundle.json")
dataset_id = "test_dataset_{}".format(str(uuid.uuid4()))
fhir_store_id = "test_fhir_store-{}".format(str(uuid.uuid4()))
dataset_id = "test_dataset_{}".format(uuid.uuid4())
fhir_store_id = "test_fhir_store-{}".format(uuid.uuid4())
resource_type = "Patient"


Expand Down
5 changes: 3 additions & 2 deletions healthcare/api-client/fhir/fhir_stores_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import pytest
import sys
import time
import uuid

from google.cloud import exceptions, storage

Expand All @@ -28,8 +29,8 @@
project_id = os.environ["GOOGLE_CLOUD_PROJECT"]
service_account_json = os.environ["GOOGLE_APPLICATION_CREDENTIALS"]

dataset_id = "test_dataset_{}".format(int(time.time()))
fhir_store_id = "test_fhir_store-{}".format(int(time.time()))
dataset_id = "test_dataset_{}".format(uuid.uuid4())
fhir_store_id = "test_fhir_store-{}".format(uuid.uuid4())

gcs_uri = os.environ["CLOUD_STORAGE_BUCKET"]
RESOURCES = os.path.join(os.path.dirname(__file__), "resources")
Expand Down