Skip to content

Commit fa77058

Browse files
committed
cleanup
1 parent 3056502 commit fa77058

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

tests/test_init.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
from __future__ import annotations
22

33
import wildedge
4+
import wildedge.convenience as convenience
45

56

67
def test_init_calls_instrument_for_integrations(monkeypatch):
7-
import wildedge.convenience as convenience
88

99
calls: list[tuple[str | None, list[str] | None]] = []
1010

@@ -28,7 +28,6 @@ def instrument(self, integration, *, hubs=None):
2828

2929

3030
def test_init_hubs_only(monkeypatch):
31-
import wildedge.convenience as convenience
3231

3332
calls: list[tuple[str | None, list[str] | None]] = []
3433

@@ -51,8 +50,6 @@ def instrument(self, integration, *, hubs=None):
5150

5251

5352
def test_init_logs_debug_when_no_integrations_or_hubs(monkeypatch):
54-
import wildedge.convenience as convenience
55-
5653
logs: list[str] = []
5754

5855
class DummyClient:

0 commit comments

Comments
 (0)