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

Method testCreateVariableSelected

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

Source from the content-addressed store, hash-verified

626 self.assertIsNotNone(variable)
627
628 def testCreateVariableSelected(self):
629 repos = [self.org.get_repo("TestPyGithub"), self.org.get_repo("FatherBeaver")]
630 variable = self.org.create_variable("variable-name", "variable-value", "selected", repos)
631 self.assertIsNotNone(variable)
632 self.assertEqual(list(variable.selected_repositories), repos)
633
634 def testGetVariable(self):
635 repos = [self.org.get_repo("TestPyGithub"), self.org.get_repo("FatherBeaver")]

Callers

nothing calls this directly

Calls 2

get_repoMethod · 0.45
create_variableMethod · 0.45

Tested by

no test coverage detected