1
0

Fixed tests
All checks were successful
Python Ruff Code Quality / ruff (push) Successful in 22s
Run Python tests (through Pytest) / Test (push) Successful in 25s
Verify Python project can be installed, loaded and have version checked / Test (push) Successful in 22s

This commit is contained in:
Jon Michael Aanes 2024-11-01 21:45:28 +01:00
parent 9e76e5f0ee
commit 1cda90c0bc
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA
2 changed files with 4 additions and 3 deletions

View File

@ -1,10 +1,11 @@
import pytest
import aenum import aenum
import pytest
import socials_util import socials_util
def test_re_social_path_validation(): def test_re_social_path_validation():
with pytest.raises(ValueError): with pytest.raises(ValueError, match='Redundant www: www.example.org'):
socials_util.re_social_path('www.example.org') socials_util.re_social_path('www.example.org')

View File

@ -1,4 +1,4 @@
import wikidata import wikidata.client
import socials_util import socials_util