Skip to content

Commit 6898f52

Browse files
committed
Use token while datetime is mocked
1 parent 3c03aa4 commit 6898f52

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/Authentication.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,9 @@ def testAppInstallationAuthAuthentication(self):
203203
datetime(2025, 11, 25, 1, 0, 2, tzinfo=timezone.utc),
204204
)
205205

206-
# use the token
207-
self.assertEqual(g.get_user("ammarmallik").name, "Ammar Akbar")
208-
self.assertEqual(g.get_repo("PyGithub/PyGithub").full_name, "PyGithub/PyGithub")
206+
# use the token
207+
self.assertEqual(g.get_user("ammarmallik").name, "Ammar Akbar")
208+
self.assertEqual(g.get_repo("PyGithub/PyGithub").full_name, "PyGithub/PyGithub")
209209

210210
def testAppInstallationAuthAuthenticationRequesterArgs(self):
211211
installation_auth = github.Auth.AppInstallationAuth(self.app_auth, 29782936)

0 commit comments

Comments
 (0)