Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr KOZAREV committed Oct 15, 2024
1 parent cde3524 commit 5442c43
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/tests/test_lcsb.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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

Expand Down

0 comments on commit 5442c43

Please sign in to comment.