From 5442c4331d0fb7af230edac3a1dfd782bbf2009b Mon Sep 17 00:00:00 2001 From: Aleksandr KOZAREV Date: Tue, 15 Oct 2024 18:25:16 +0200 Subject: [PATCH] tests --- core/tests/test_lcsb.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/tests/test_lcsb.py b/core/tests/test_lcsb.py index 5aec2a8a..0e61a01c 100644 --- a/core/tests/test_lcsb.py +++ b/core/tests/test_lcsb.py @@ -372,7 +372,7 @@ def test_create_access_with_external_id(): assert access.application_external_id == "2024/1" -def test_update_accesses_external_id(caplog): +def test_update_accesses_external_id(): access_0 = AccessFactory.create() access_1 = AccessFactory.create(rems_id=True) access_2 = AccessFactory.create(rems_id=True, rems_external_id=True) @@ -393,8 +393,6 @@ def test_update_accesses_external_id(caplog): ) bulk_update_rems_external_ids() - assert "REMS :: Accesses updated: 1" in caplog.text - updated_access_0 = Access.objects.get(id=access_0.id) assert not updated_access_0.application_external_id