MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / testGetVariables

Method testGetVariables

tests/Organization.py:650–652  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

648 self.assertEqual(var.url, "/orgs/org/actions/variables/var%20name")
649
650 def testGetVariables(self):
651 variables = self.org.get_variables()
652 self.assertEqual(len(list(variables)), 1)
653
654 @mock.patch("github.PublicKey.encrypt")
655 def testCreateActionsSecret(self, encrypt):

Callers

nothing calls this directly

Calls 1

get_variablesMethod · 0.45

Tested by

no test coverage detected