We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1780896 commit 9f2a21fCopy full SHA for 9f2a21f
tests/test_models.py
@@ -244,6 +244,14 @@ def test_get_gh_client(self, installation):
244
assert isinstance(client, AsyncGitHubAPI)
245
assert client.installation_id == installation.installation_id
246
247
+ @pytest.mark.asyncio
248
+ async def test_arefresh_from_gh(self): ...
249
+ def test_refresh_from_gh(self): ...
250
+
251
+ def test_refresh_from_gh_invalid_account_type(self, installation):
252
+ with pytest.raises(ValueError):
253
+ installation.refresh_from_gh("invalid", "test")
254
255
@pytest.mark.asyncio
256
async def test_aget_repos(self, ainstallation):
257
installation = await ainstallation
0 commit comments