MCPcopy Index your code
hub / github.com/StackStorm/st2 / test_resource_clone

Method test_resource_clone

st2client/tests/unit/test_models.py:457–461  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

455 ),
456 )
457 def test_resource_clone(self):
458 mgr = models.ResourceManager(base.FakeResource, base.FAKE_ENDPOINT)
459 source_ref = "spack.saction"
460 resource = mgr.clone(source_ref, "dpack", "daction", False)
461 self.assertIsNotNone(resource)
462
463 @mock.patch.object(
464 httpclient.HTTPClient,

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.95

Tested by

no test coverage detected