Skip to content

Commit

Permalink
fix: increase code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhymabekRoman authored Apr 11, 2023
1 parent b369019 commit ddcdd43
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,7 @@ def test_utils():
assert is_digit_string("1316456513")
assert is_digit_string("sdfkjdsf") is False
assert is_digit_string("656543413", fast=False)
with pytest.raises(ValueError):
assert is_digit_string("656543413", fast=True, weak_fast_check=True)
assert is_digit_string("656543413", fast=False, weak_fast_check=True)
assert is_digit_string("grarthaeg", fast=False) is False

0 comments on commit ddcdd43

Please sign in to comment.