22from pathlib import PureWindowsPath
33
44# 3rd party
5+ import coincidence .params
56import pytest
6- from coincidence .params import count , testing_boolean_values , whitespace_perms
77
88# this package
99from mh_utils .utils import as_path , camel_to_snake , element_to_bool
@@ -20,8 +20,8 @@ class TestAsPath:
2020 ],
2121 )
2222
23- @whitespace_perms ()
24- @count (100 )
23+ @coincidence . params . whitespace_perms ()
24+ @coincidence . params . count (100 )
2525 def test_as_path_whitespace_none (self , char : str , count : int ):
2626 assert as_path (char * count ) is None
2727
@@ -30,8 +30,8 @@ def test_as_path_none(self, value):
3030 assert as_path (value ) is None
3131
3232 @pytest .mark .parametrize ("whitespace_pos" , ["left" , "right" , "both" ])
33- @count (100 )
34- @whitespace_perms ()
33+ @coincidence . params . count (100 )
34+ @coincidence . params . whitespace_perms ()
3535 @filenames
3636 def test_as_path (
3737 self ,
@@ -65,7 +65,7 @@ def test_as_path_no_whitespace(
6565
6666class TestElementToBool :
6767
68- @testing_boolean_values (extra_truthy = [- 1 ])
68+ @coincidence . params . testing_boolean_values (extra_truthy = [- 1 ])
6969 def test_element_to_bool (self , boolean_string , expected_boolean ):
7070 assert element_to_bool (boolean_string ) == expected_boolean
7171
0 commit comments