Fixed tests
This commit is contained in:
parent
9e76e5f0ee
commit
1cda90c0bc
|
@ -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')
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import wikidata
|
import wikidata.client
|
||||||
|
|
||||||
import socials_util
|
import socials_util
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user