From 359c0810459631d63bdb7329cb1a58bffcc84f2f Mon Sep 17 00:00:00 2001 From: djeck1432 Date: Mon, 25 Nov 2024 18:33:11 +0100 Subject: [PATCH] move to right folder --- web_app/{schemas => api/serializers}/vault.py | 0 web_app/tests/test_vault.py | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename web_app/{schemas => api/serializers}/vault.py (100%) diff --git a/web_app/schemas/vault.py b/web_app/api/serializers/vault.py similarity index 100% rename from web_app/schemas/vault.py rename to web_app/api/serializers/vault.py diff --git a/web_app/tests/test_vault.py b/web_app/tests/test_vault.py index 7423426a..1fdc1330 100644 --- a/web_app/tests/test_vault.py +++ b/web_app/tests/test_vault.py @@ -111,7 +111,7 @@ async def test_get_vault_balance( "web_app.db.crud.DepositDBConnector.get_vault_balance", return_value=balance ): - url = f"/api/vault/api/balance?wallet_id={wallet_id}&symbol={symbol}" + url = f"/api/vault/balance?wallet_id={wallet_id}&symbol={symbol}" response = await async_client.get(url) assert response.status_code == expected_status @@ -160,7 +160,7 @@ async def test_add_vault_balance( **patch_kwargs ): response = await async_client.post( - "/api/vault/api/add_balance", + "/api/vault/add_balance", json=test_data )