(gitfs_opts)
| 71 | |
| 72 | |
| 73 | def _test_gitfs_simple(gitfs_opts): |
| 74 | g = _get_gitfs( |
| 75 | gitfs_opts, |
| 76 | {"https://github.com/saltstack/salt-test-pillar-gitfs.git": [{"name": "bob"}]}, |
| 77 | ) |
| 78 | g.fetch_remotes() |
| 79 | assert len(g.remotes) == 1 |
| 80 | assert set(g.file_list({"saltenv": "main"})) == {".gitignore", "README.md"} |
| 81 | |
| 82 | |
| 83 | @skipif_no_gitpython |
no test coverage detected