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 5c12539 commit 6762a41Copy full SHA for 6762a41
tests/test_app.py
@@ -1,6 +1,7 @@
1
import pytest
2
3
import squarecloud
4
+from squarecloud import BackupInfo
5
from squarecloud.app import Application
6
from tests import GITHUB_ACCESS_TOKEN
7
@@ -44,3 +45,8 @@ async def test_domain_analytics(self, app: Application):
44
45
)
46
async def test_set_custom_domain(self, app: Application):
47
assert isinstance(await app.set_custom_domain('test.com.br'), str)
48
+
49
+ async def test_get_all_backups(self, app: Application):
50
+ backups = await app.all_backups()
51
+ assert isinstance(backups, list)
52
+ assert isinstance(backups[0], BackupInfo)
0 commit comments