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

Method testEditWithoutParameters

tests/Gist.py:113–120  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

111 self.assertEqual(gist.url, "/gists/gist")
112
113 def testEditWithoutParameters(self):
114 gist = self.g.get_gist("2729810")
115 gist.edit()
116 self.assertEqual(gist.description, "Gist created by PyGithub")
117 self.assertEqual(
118 gist.updated_at,
119 datetime(2012, 5, 19, 7, 0, 58, tzinfo=timezone.utc),
120 )
121
122 def testEditWithAllParameters(self):
123 gist = self.g.get_gist("2729810")

Callers

nothing calls this directly

Calls 2

get_gistMethod · 0.80
editMethod · 0.45

Tested by

no test coverage detected