cp.get_dir
(self)
| 130 | |
| 131 | @pytest.mark.slow_test |
| 132 | def test_get_dir(self): |
| 133 | """ |
| 134 | cp.get_dir |
| 135 | """ |
| 136 | tgt = os.path.join(RUNTIME_VARS.TMP, "many") |
| 137 | self.run_function("cp.get_dir", ["salt://grail", tgt]) |
| 138 | self.assertIn("grail", os.listdir(tgt)) |
| 139 | self.assertIn("36", os.listdir(os.path.join(tgt, "grail"))) |
| 140 | self.assertIn("empty", os.listdir(os.path.join(tgt, "grail"))) |
| 141 | self.assertIn("scene", os.listdir(os.path.join(tgt, "grail", "36"))) |
| 142 | |
| 143 | @pytest.mark.slow_test |
| 144 | def test_get_dir_templated_paths(self): |
nothing calls this directly
no test coverage detected