()
| 1698 | |
| 1699 | |
| 1700 | def test_filesystem_from_uri_calling(): |
| 1701 | # Call using class staticmethod |
| 1702 | fs, path = FileSystem.from_uri("file:/") |
| 1703 | assert isinstance(fs, LocalFileSystem) |
| 1704 | assert path == "/" |
| 1705 | |
| 1706 | # Call using class staticmethod with explicit arguments |
| 1707 | fs, path = FileSystem.from_uri(uri="file:/") |
| 1708 | assert isinstance(fs, LocalFileSystem) |
| 1709 | assert path == "/" |
| 1710 | |
| 1711 | # Call using instance method passthrough |
| 1712 | fs, path = LocalFileSystem().from_uri(uri="file:/") |
| 1713 | assert isinstance(fs, LocalFileSystem) |
| 1714 | assert path == "/" |
| 1715 | |
| 1716 | |
| 1717 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected