Spaces:
Sleeping
Sleeping
docs: the LinkedIn test must name a vendor to reach the path it checks
Browse files
docs/superpowers/plans/2026-08-29-prospection-buyside.md
CHANGED
|
@@ -1911,7 +1911,12 @@ def test_dropcontact_returns_empty_on_http_error():
|
|
| 1911 |
assert DropcontactProvider(client=_Client()).find(_account()) == []
|
| 1912 |
|
| 1913 |
|
| 1914 |
-
def test_linkedin_provider_never_returns_an_email():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1915 |
class _Client:
|
| 1916 |
def get(self, url, params=None, headers=None):
|
| 1917 |
class _R:
|
|
|
|
| 1911 |
assert DropcontactProvider(client=_Client()).find(_account()) == []
|
| 1912 |
|
| 1913 |
|
| 1914 |
+
def test_linkedin_provider_never_returns_an_email(monkeypatch):
|
| 1915 |
+
# Sans fournisseur configure, find() renvoie [] par conception : l'adaptateur
|
| 1916 |
+
# ne devine pas un endpoint. Le test doit donc en nommer un pour atteindre
|
| 1917 |
+
# le chemin qu'il pretend verifier.
|
| 1918 |
+
monkeypatch.setenv("PROSPECTION_LINKEDIN_PROVIDER", "coresignal")
|
| 1919 |
+
|
| 1920 |
class _Client:
|
| 1921 |
def get(self, url, params=None, headers=None):
|
| 1922 |
class _R:
|