Skip to content

Commit

Permalink
[FIX]
Browse files Browse the repository at this point in the history
-test fix
  • Loading branch information
Z3ZEL committed Aug 21, 2023
1 parent 2773a55 commit 0e02f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_actions_api_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ def test_file_uploader_with_no_error(self, dossier : Dossier, file_uploader : Fi
class TestActionMessageModifierError():
@pytest.fixture
def dossier(self) -> Dossier:
profile.instructeur_id = None
dossier = demarche.get_dossiers()[0]
return dossier

def test_create_sender_without_instructor_id(self, dossier : Dossier) -> MessageSender:
with pytest.raises(DemarchesSimpyException):
sender = MessageSender(profile=profile, dossier=dossier)
print(sender.instructeur_id)



0 comments on commit 0e02f20

Please sign in to comment.