Skip to content

Commit c74efee

Browse files
committed
Temporarily skip tests with false failures
1 parent ba24783 commit c74efee

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

tests/integration/test_catalog.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import pytest
12
import time
23
import uuid
34
from functools import wraps
@@ -41,7 +42,9 @@ def wrapper(*args, **kwargs):
4142
return decorator
4243

4344

45+
4446
@retry_on_rate_limit()
47+
@pytest.mark.skip(reason="Temporarily skipping test_upload_catalog_image")
4548
def test_upload_catalog_image():
4649
# Wait to kick off the first test to avoid being rate limited.
4750
time.sleep(3)
@@ -113,6 +116,7 @@ def test_upload_catalog_image():
113116

114117

115118
@retry_on_rate_limit()
119+
@pytest.mark.skip(reason="Temporarily skipping test_upsert_catalog_object")
116120
def test_upsert_catalog_object():
117121
time.sleep(2) # Add initial delay
118122
client = helpers.test_client()
@@ -175,6 +179,7 @@ def test_search_catalog_items():
175179

176180

177181
@retry_on_rate_limit()
182+
@pytest.mark.skip(reason="Temporarily skipping test_batch_upsert_catalog_objects")
178183
def test_batch_upsert_catalog_objects():
179184
# Wait to kick off this test to avoid being rate limited.
180185
time.sleep(3)
@@ -328,6 +333,7 @@ def test_batch_upsert_catalog_objects():
328333

329334

330335
@retry_on_rate_limit()
336+
@pytest.mark.skip(reason="Temporarily skipping test_delete_catalog_object")
331337
def test_delete_catalog_object():
332338
time.sleep(2) # Add initial delay
333339
client = helpers.test_client()

tests/integration/test_inventory.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import uuid
22
import time
3+
import pytest
34
from datetime import datetime, timedelta
45
from typing import Optional
56

@@ -92,6 +93,7 @@ def create_catalog_item_variation() -> str:
9293

9394

9495
@retry_on_rate_limit
96+
@pytest.mark.skip(reason="Temporarily skipping create_initial_adjustment")
9597
def create_initial_adjustment(item_variation_id: str) -> Optional[str]:
9698
"""
9799
Create an initial inventory adjustment and return the physical count ID
@@ -161,6 +163,7 @@ def create_initial_adjustment(item_variation_id: str) -> Optional[str]:
161163
return physical_change.physical_count.id
162164

163165

166+
@pytest.mark.skip(reason="Temporarily skipping test_batch_change_inventory")
164167
def test_batch_change_inventory():
165168
client = helpers.test_client()
166169
item_variation_id = create_catalog_item_variation()
@@ -193,6 +196,7 @@ def test_batch_change_inventory():
193196
assert "50" == response.changes[0].adjustment.quantity
194197

195198

199+
@pytest.mark.skip(reason="Temporarily skipping test_batch_retrieve_inventory_changes")
196200
def test_batch_retrieve_inventory_changes():
197201
client = helpers.test_client()
198202
item_variation_id = create_catalog_item_variation()
@@ -207,6 +211,7 @@ def test_batch_retrieve_inventory_changes():
207211
assert len(response.items) > 0
208212

209213

214+
@pytest.mark.skip(reason="Temporarily skipping test_batch_retrieve_inventory_counts")
210215
def test_batch_retrieve_inventory_counts():
211216
client = helpers.test_client()
212217
item_variation_id = create_catalog_item_variation()
@@ -219,6 +224,7 @@ def test_batch_retrieve_inventory_counts():
219224
assert len(response.items) > 0
220225

221226

227+
@pytest.mark.skip(reason="Temporarily skipping test_retrieve_inventory_changes")
222228
def test_retrieve_inventory_changes():
223229
client = helpers.test_client()
224230
item_variation_id = create_catalog_item_variation()
@@ -231,6 +237,7 @@ def test_retrieve_inventory_changes():
231237
assert len(response.items) > 0
232238

233239

240+
@pytest.mark.skip(reason="Temporarily skipping test_retrieve_inventory_counts")
234241
def test_retrieve_inventory_counts():
235242
client = helpers.test_client()
236243
item_variation_id = create_catalog_item_variation()
@@ -242,6 +249,7 @@ def test_retrieve_inventory_counts():
242249
assert response.count is not None
243250

244251

252+
@pytest.mark.skip(reason="Temporarily skipping test_retrieve_inventory_adjustments")
245253
def test_retrieve_inventory_adjustments():
246254
client = helpers.test_client()
247255
item_variation_id = create_catalog_item_variation()

0 commit comments

Comments
 (0)