Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit adbdaa8

Browse filesBrowse files
gguussengelke
authored andcommitted
Disbles healthcare API tests until we have API access. (GoogleCloudPlatform#1859)
1 parent 8a2dd11 commit adbdaa8
Copy full SHA for adbdaa8

File tree

Expand file treeCollapse file tree

7 files changed

+22
-0
lines changed
Filter options
Expand file treeCollapse file tree

7 files changed

+22
-0
lines changed

‎healthcare/api-client/datasets/datasets_test.py

Copy file name to clipboardExpand all lines: healthcare/api-client/datasets/datasets_test.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# limitations under the License.
1414

1515
import os
16+
import pytest
1617
import time
1718

1819
import datasets
@@ -28,6 +29,7 @@
2829
time_zone = 'UTC'
2930

3031

32+
@pytest.mark.skip(reason='disable until API whitelisted / enabled')
3133
def test_CRUD_dataset(capsys):
3234
datasets.create_dataset(
3335
service_account_json,
@@ -55,6 +57,7 @@ def test_CRUD_dataset(capsys):
5557
assert 'Deleted dataset' in out
5658

5759

60+
@pytest.mark.skip(reason='disable until API whitelisted / enabled')
5861
def test_patch_dataset(capsys):
5962
datasets.create_dataset(
6063
service_account_json,
@@ -81,6 +84,7 @@ def test_patch_dataset(capsys):
8184
assert 'UTC' in out
8285

8386

87+
@pytest.mark.skip(reason='disable until API whitelisted / enabled')
8488
def test_deidentify_dataset(capsys):
8589
datasets.create_dataset(
8690
service_account_json,

‎healthcare/api-client/dicom/dicom_stores_test.py

Copy file name to clipboardExpand all lines: healthcare/api-client/dicom/dicom_stores_test.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def test_dataset():
5858
dataset_id)
5959

6060

61+
@pytest.mark.skip(reason='disable until have access to healthcare api')
6162
def test_CRUD_dicom_store(test_dataset, capsys):
6263
dicom_stores.create_dicom_store(
6364
service_account_json,
@@ -99,6 +100,7 @@ def test_CRUD_dicom_store(test_dataset, capsys):
99100
assert 'Deleted DICOM store' in out
100101

101102

103+
@pytest.mark.skip(reason='disable until have access to healthcare api')
102104
def test_patch_dicom_store(test_dataset, capsys):
103105
dicom_stores.create_dicom_store(
104106
service_account_json,
@@ -131,6 +133,7 @@ def test_patch_dicom_store(test_dataset, capsys):
131133
assert 'Patched DICOM store' in out
132134

133135

136+
@pytest.mark.skip(reason='disable until have access to healthcare api')
134137
def test_import_dicom_instance(test_dataset, capsys):
135138
dicom_stores.create_dicom_store(
136139
service_account_json,
@@ -163,6 +166,7 @@ def test_import_dicom_instance(test_dataset, capsys):
163166
assert 'Imported DICOM instance' in out
164167

165168

169+
@pytest.mark.skip(reason='disable until have access to healthcare api')
166170
def test_export_dicom_instance(test_dataset, capsys):
167171
dicom_stores.create_dicom_store(
168172
service_account_json,

‎healthcare/api-client/dicom/dicomweb_test.py

Copy file name to clipboardExpand all lines: healthcare/api-client/dicom/dicomweb_test.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def test_dicom_store():
8282
dicom_store_id)
8383

8484

85+
@pytest.mark.skip(reason='disable until have access to healthcare api')
8586
def test_dicomweb_store_instance(test_dataset, test_dicom_store, capsys):
8687
dicomweb.dicomweb_store_instance(
8788
service_account_json,
@@ -107,6 +108,7 @@ def test_dicomweb_store_instance(test_dataset, test_dicom_store, capsys):
107108
study_uid)
108109

109110

111+
@pytest.mark.skip(reason='disable until have access to healthcare api')
110112
def test_dicomweb_search_instance(test_dataset, test_dicom_store, capsys):
111113
dicomweb.dicomweb_store_instance(
112114
service_account_json,
@@ -140,6 +142,7 @@ def test_dicomweb_search_instance(test_dataset, test_dicom_store, capsys):
140142
study_uid)
141143

142144

145+
@pytest.mark.skip(reason='disable until have access to healthcare api')
143146
def test_dicomweb_retrieve_study(test_dataset, test_dicom_store, capsys):
144147
dicomweb.dicomweb_store_instance(
145148
service_account_json,
@@ -174,6 +177,7 @@ def test_dicomweb_retrieve_study(test_dataset, test_dicom_store, capsys):
174177
study_uid)
175178

176179

180+
@pytest.mark.skip(reason='disable until have access to healthcare api')
177181
def test_dicomweb_delete_study(test_dataset, test_dicom_store, capsys):
178182
dicomweb.dicomweb_store_instance(
179183
service_account_json,

‎healthcare/api-client/fhir/fhir_resources_test.py

Copy file name to clipboardExpand all lines: healthcare/api-client/fhir/fhir_resources_test.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ def test_fhir_store():
7575
fhir_store_id)
7676

7777

78+
@pytest.mark.skip(reason='Disable until API whitelisted.')
7879
def test_CRUD_search_resource(test_dataset, test_fhir_store, capsys):
7980
fhir_resources.create_resource(
8081
service_account_json,
@@ -148,6 +149,7 @@ def test_CRUD_search_resource(test_dataset, test_fhir_store, capsys):
148149
assert 'Deleted Resource' in out
149150

150151

152+
@pytest.mark.skip(reason='Disable until API whitelisted.')
151153
def test_get_patient_everything(test_dataset, test_fhir_store, capsys):
152154
fhir_resources.create_resource(
153155
service_account_json,
@@ -195,6 +197,7 @@ def test_get_patient_everything(test_dataset, test_fhir_store, capsys):
195197
assert 'id' in out
196198

197199

200+
@pytest.mark.skip(reason="no way of currently testing this")
198201
def test_get_metadata(test_dataset, test_fhir_store, capsys):
199202
fhir_resources.get_metadata(
200203
service_account_json,

‎healthcare/api-client/fhir/fhir_stores_test.py

Copy file name to clipboardExpand all lines: healthcare/api-client/fhir/fhir_stores_test.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def test_dataset():
5353
dataset_id)
5454

5555

56+
@pytest.mark.skip(reason='disable until API whitelisted / enabled')
5657
def test_CRUD_fhir_store(test_dataset, capsys):
5758
fhir_stores.create_fhir_store(
5859
service_account_json,
@@ -94,6 +95,7 @@ def test_CRUD_fhir_store(test_dataset, capsys):
9495
assert 'Deleted FHIR store' in out
9596

9697

98+
@pytest.mark.skip(reason='disable until API whitelisted / enabled')
9799
def test_patch_fhir_store(test_dataset, capsys):
98100
fhir_stores.create_fhir_store(
99101
service_account_json,

‎healthcare/api-client/hl7v2/hl7v2_messages_test.py

Copy file name to clipboardExpand all lines: healthcare/api-client/hl7v2/hl7v2_messages_test.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ def test_hl7v2_store():
7777
hl7v2_store_id)
7878

7979

80+
@pytest.mark.skip(reason='disable until have access to healthcare api')
8081
def test_CRUD_hl7v2_message(test_dataset, test_hl7v2_store, capsys):
8182
hl7v2_messages.create_hl7v2_message(
8283
service_account_json,
@@ -124,6 +125,7 @@ def test_CRUD_hl7v2_message(test_dataset, test_hl7v2_store, capsys):
124125
assert 'Deleted HL7v2 message' in out
125126

126127

128+
@pytest.mark.skip(reason='disable until have access to healthcare api')
127129
def test_ingest_hl7v2_message(test_dataset, test_hl7v2_store, capsys):
128130
hl7v2_messages.ingest_hl7v2_message(
129131
service_account_json,
@@ -171,6 +173,7 @@ def test_ingest_hl7v2_message(test_dataset, test_hl7v2_store, capsys):
171173
assert 'Deleted HL7v2 message' in out
172174

173175

176+
@pytest.mark.skip(reason='disable until have access to healthcare api')
174177
def test_patch_hl7v2_message(test_dataset, test_hl7v2_store, capsys):
175178
hl7v2_messages.create_hl7v2_message(
176179
service_account_json,

‎healthcare/api-client/hl7v2/hl7v2_stores_test.py

Copy file name to clipboardExpand all lines: healthcare/api-client/hl7v2/hl7v2_stores_test.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def test_dataset():
5252
dataset_id)
5353

5454

55+
@pytest.mark.skip(reason='disable until have access to healthcare api')
5556
def test_CRUD_hl7v2_store(test_dataset, capsys):
5657
hl7v2_stores.create_hl7v2_store(
5758
service_account_json,
@@ -93,6 +94,7 @@ def test_CRUD_hl7v2_store(test_dataset, capsys):
9394
assert 'Deleted HL7v2 store' in out
9495

9596

97+
@pytest.mark.skip(reason='disable until have access to healthcare api')
9698
def test_patch_hl7v2_store(test_dataset, capsys):
9799
hl7v2_stores.create_hl7v2_store(
98100
service_account_json,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.