File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 55from squarecloud .data import UploadData
66from squarecloud .http import Response
77
8- from . import client , create_zip
8+ from . import GITHUB_ACCESS_TOKEN , client , create_zip
99
1010
1111@pytest .mark .asyncio
@@ -137,6 +137,23 @@ async def test(response: Response):
137137
138138 await client .me ()
139139
140+ async def test_last_deploys (self ):
141+ @client .on_request (Endpoint .last_deploys ())
142+ async def test (response : Response ):
143+ assert isinstance (response , Response )
144+
145+ await client .last_deploys (TestRequestListeners .APP_ID )
146+
147+ async def test_github_integration (self ):
148+ @client .on_request (Endpoint .github_integration ())
149+ async def test (response : Response ):
150+ assert isinstance (response , Response )
151+
152+ await client .github_integration (
153+ TestRequestListeners .APP_ID ,
154+ GITHUB_ACCESS_TOKEN ,
155+ )
156+
140157 async def test_delete_app (self ):
141158 @client .on_request (Endpoint .delete_app ())
142159 async def test (response : Response ):
You can’t perform that action at this time.
0 commit comments