Skip to content

Commit

Permalink
test: remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
italojohnny committed Aug 13, 2024
1 parent 5a21cdf commit febf52c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/backend/tests/unit/services/variable/test_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def test_delete_variable(service, session):
value = "value"
field = ""

saved = service.create_variable(user_id, name, value, session=session)
service.create_variable(user_id, name, value, session=session)
recovered = service.get_variable(user_id, name, field, session=session)
service.delete_variable(user_id, name, session=session)
with pytest.raises(ValueError) as exc:
Expand Down Expand Up @@ -231,7 +231,6 @@ def test_delete_variable_by_id__ValueError(service, session):
assert "variable not found" in str(exc.value)



def test_create_variable(service, session):
user_id = uuid4()
name = "name"
Expand Down

0 comments on commit febf52c

Please sign in to comment.