fix: enable VK image mirroring by default

This commit is contained in:
nyan404 committed 2026-08-25 03:22:29 +03:00
1 parent a22d23dcd7
commit 0041e683fe
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -5,6 +5,10 @@ from app.belki.image_host import ImageHostClient, ImageHostError
class ImageHostClientTests(unittest.TestCase):
def test_default_client_targets_belki_image_host(self) -> None:
with patch.dict("os.environ", {}, clear=True):
self.assertEqual(ImageHostClient().api_url, "https://nyan.nyan404.ru")
def test_initiate_identifies_the_belki_client(self) -> None:
client = ImageHostClient(api_url="https://api.example.test")
response = MagicMock()