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

Method testRepoVariable

tests/Repository.py:2277–2280  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2275 self.assertEqual("refs/tags/v0.6", refs[5].ref)
2276
2277 def testRepoVariable(self):
2278 variable = self.repo.create_variable("variable_name", "variable-value")
2279 self.assertTrue(variable.edit("variable-value123"))
2280 variable.delete()
2281
2282 def testGetLazyVariable(self):
2283 var = self.g.withLazy(True).get_repo("lazy/repo").get_variable("var name")

Callers

nothing calls this directly

Calls 3

create_variableMethod · 0.45
editMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected