@@ -30,6 +30,7 @@ def load_filepaths_variant(
3030 return module
3131
3232
33+ @pytest .mark .skipif (os .name == 'nt' , reason = 'todo: unknown' )
3334def test_default_socket_dirs_import_variants (monkeypatch : pytest .MonkeyPatch ) -> None :
3435 darwin = load_filepaths_variant (monkeypatch , os_name = 'posix' , system_name = 'Darwin' )
3536 assert darwin .DEFAULT_SOCKET_DIRS == ['/tmp' ]
@@ -63,6 +64,7 @@ def test_complete_path_and_parse_path() -> None:
6364 assert filepaths .parse_path ('/tmp/dir/' ) == ('/tmp/dir' , '' , 0 )
6465
6566
67+ @pytest .mark .skipif (os .name == 'nt' , reason = 'todo: unknown' )
6668def test_suggest_path_branches (tmp_path : Path , monkeypatch : pytest .MonkeyPatch ) -> None :
6769 monkeypatch .chdir (tmp_path )
6870 (tmp_path / 'query.sql' ).write_text ('select 1\n ' , encoding = 'utf-8' )
@@ -98,6 +100,7 @@ def test_dir_path_exists(tmp_path: Path) -> None:
98100 assert filepaths .dir_path_exists (str (tmp_path / 'missing' / 'mycli.log' )) is False
99101
100102
103+ @pytest .mark .skipif (os .name == 'nt' , reason = 'todo: unknown' )
101104def test_guess_socket_location_returns_matching_socket (monkeypatch : pytest .MonkeyPatch ) -> None :
102105 monkeypatch .setattr (filepaths , 'DEFAULT_SOCKET_DIRS' , ['/a' , '/b' ])
103106 monkeypatch .setattr (filepaths .os .path , 'exists' , lambda path : path == '/b' )
0 commit comments