-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
users: Fix users filter in brevo command
- Loading branch information
Showing
2 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -373,7 +373,7 @@ def test_wet_run_siae(self, caplog, respx_mock): | |
# Job seekers are ignored. | ||
JobSeekerFactory(with_verified_email=True) | ||
for kind in set(CompanyKind) - set(SIAE_WITH_CONVENTION_KINDS): | ||
CompanyMembershipFactory(company__kind=kind, user__identity_provider=IdentityProvider.INCLUSION_CONNECT) | ||
CompanyMembershipFactory(company__kind=kind, user__identity_provider=IdentityProvider.PRO_CONNECT) | ||
# Missing verified email and not using IC | ||
CompanyMembershipFactory(company__kind=CompanyKind.EI, user__identity_provider=IdentityProvider.DJANGO) | ||
not_primary = CompanyMembershipFactory( | ||
|
@@ -397,31 +397,31 @@ def test_wet_run_siae(self, caplog, respx_mock): | |
first_name="Annie", | ||
last_name="Amma", | ||
email="[email protected]", | ||
identity_provider=IdentityProvider.INCLUSION_CONNECT, | ||
identity_provider=IdentityProvider.PRO_CONNECT, | ||
) | ||
bob = EmployerFactory( | ||
first_name="Bob", | ||
last_name="Bailey", | ||
email="[email protected]", | ||
identity_provider=IdentityProvider.INCLUSION_CONNECT, | ||
identity_provider=IdentityProvider.PRO_CONNECT, | ||
) | ||
cindy = EmployerFactory( | ||
first_name="Cindy", | ||
last_name="Cinnamon", | ||
email="[email protected]", | ||
identity_provider=IdentityProvider.INCLUSION_CONNECT, | ||
identity_provider=IdentityProvider.PRO_CONNECT, | ||
) | ||
dave = EmployerFactory( | ||
first_name="Dave", | ||
last_name="Doll", | ||
email="[email protected]", | ||
identity_provider=IdentityProvider.INCLUSION_CONNECT, | ||
identity_provider=IdentityProvider.PRO_CONNECT, | ||
) | ||
eve = EmployerFactory( | ||
first_name="Eve", | ||
last_name="Ebi", | ||
email="[email protected]", | ||
identity_provider=IdentityProvider.INCLUSION_CONNECT, | ||
identity_provider=IdentityProvider.PRO_CONNECT, | ||
) | ||
CompanyMembershipFactory(user=annie, company__kind=CompanyKind.EI) | ||
CompanyMembershipFactory(user=bob, company__kind=CompanyKind.AI) | ||
|