We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a9b62d commit 57a84c7Copy full SHA for 57a84c7
tests/integration/feeds/test_feeds_client.py
@@ -11,6 +11,7 @@
11
from nisystemlink.clients.core import ApiException
12
from nisystemlink.clients.feeds import FeedsClient
13
from nisystemlink.clients.feeds.models import CreateFeedRequest, Platform
14
+from uplink import retry
15
16
FEED_DESCRIPTION = "Sample feed for uploading packages"
17
PACKAGE_PATH = str(
@@ -22,6 +23,7 @@
22
23
24
25
@pytest.fixture(scope="class")
26
+@retry(when=retry.when.status(429), stop=retry.stop.after_attempt(5))
27
def client(enterprise_config) -> FeedsClient:
28
"""Fixture to create a FeedsClient instance."""
29
return FeedsClient(enterprise_config)
0 commit comments