(self, cloud, fname)
| 200 | class TestLsUrl: |
| 201 | @pytest.mark.parametrize("fname", ["foo", "foo.dvc", "dir/foo"]) |
| 202 | def test_file(self, cloud, fname): |
| 203 | cloud.gen({fname: "foo contents"}) |
| 204 | fs, fs_path = parse_external_url(cloud.url, cloud.config) |
| 205 | result = ls_url(str(cloud / fname), fs_config=cloud.config) |
| 206 | match_files(fs, result, [{"path": fs.join(fs_path, fname), "isdir": False}]) |
| 207 | |
| 208 | def test_dir(self, cloud): |
| 209 | cloud.gen({"dir/foo": "foo contents", "dir/subdir/bar": "bar contents"}) |
nothing calls this directly
no test coverage detected