Skip to content

Commit

Permalink
[OPT-1116] fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
dfernandezvigo committed Apr 2, 2024
1 parent 5d51398 commit c65082d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sl_util/tests/unit/test_str_utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pytest import mark
from random import randint
import random
from unittest.mock import patch
from sl_util.sl_util.str_utils import deterministic_uuid, to_number

Expand Down Expand Up @@ -30,7 +30,7 @@ def test_deterministic_uuid_without_source(self, source):
# Then we obtain two different values
assert uuid1 != uuid2

@mark.parametrize('source', [randint(0, 100), str(randint(0, 100))])
@mark.parametrize('source', [random.randint(0, 100), str(random.randint(0, 100))])
def test_to_number(self, source):
# GIVEN a random integer

Expand Down

0 comments on commit c65082d

Please sign in to comment.