Skip to content

Commit 44aebf3

Browse files
committed
Rename parameter
1 parent 50d2dae commit 44aebf3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/integrations/launchdarkly/test_launchdarkly.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def test_launchdarkly_integration(sentry_init, use_global_client):
2828
client = ldclient.get()
2929
else:
3030
client = LDClient(config=config)
31-
sentry_init(integrations=[LaunchDarklyIntegration(client=client)])
31+
sentry_init(integrations=[LaunchDarklyIntegration(ld_client=client)])
3232

3333
# Set test values
3434
td.update(td.flag("hello").variation_for_all(True))
@@ -49,7 +49,7 @@ def test_launchdarkly_integration(sentry_init, use_global_client):
4949
def test_launchdarkly_integration_threaded(sentry_init):
5050
td = TestData.data_source()
5151
client = LDClient(config=Config("sdk-key", update_processor_class=td))
52-
sentry_init(integrations=[LaunchDarklyIntegration(client=client)])
52+
sentry_init(integrations=[LaunchDarklyIntegration(ld_client=client)])
5353
context = Context.create("user1")
5454

5555
def task(flag_key):
@@ -75,7 +75,7 @@ def test_launchdarkly_integration_asyncio(sentry_init):
7575
"""Assert concurrently evaluated flags do not pollute one another."""
7676
td = TestData.data_source()
7777
client = LDClient(config=Config("sdk-key", update_processor_class=td))
78-
sentry_init(integrations=[LaunchDarklyIntegration(client=client)])
78+
sentry_init(integrations=[LaunchDarklyIntegration(ld_client=client)])
7979
context = Context.create("user1")
8080

8181
async def task(flag_key):
@@ -113,4 +113,4 @@ def test_launchdarkly_integration_did_not_enable(monkeypatch):
113113
client = LDClient(config=Config("sdk-key"))
114114
monkeypatch.setattr(client, "is_initialized", lambda: False)
115115
with pytest.raises(DidNotEnable):
116-
LaunchDarklyIntegration(client=client)
116+
LaunchDarklyIntegration(ld_client=client)

0 commit comments

Comments
 (0)