MCPcopy
hub / github.com/saltstack/salt / test_get_url_no_dest

Method test_get_url_no_dest

tests/integration/modules/test_cp.py:199–205  ·  view source on GitHub ↗

cp.get_url with salt:// source given and destination set as None

(self)

Source from the content-addressed store, hash-verified

197
198 @pytest.mark.slow_test
199 def test_get_url_no_dest(self):
200 """
201 cp.get_url with salt:// source given and destination set as None
202 """
203 tgt = None
204 ret = self.run_function("cp.get_url", ["salt://grail/scene33", tgt])
205 self.assertIn("KNIGHT: They're nervous, sire.", ret)
206
207 @pytest.mark.slow_test
208 def test_get_url_nonexistent_source(self):

Callers

nothing calls this directly

Calls 1

run_functionMethod · 0.95

Tested by

no test coverage detected