Skip to content

Commit 6988495

Browse files
committed
fix(tests): fix bad imports after renaming
1 parent e674d3e commit 6988495

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/test_deploy/test_backends/test_scaleway_api_backend.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
from scw_serverless.config import Function
1313
from scw_serverless.deploy.backends.scaleway_api_backend import ScalewayApiBackend
1414
from scw_serverless.triggers import CronTrigger
15-
from tests.utils import SCALEWAY_API_URL
15+
from tests import constants
1616

17-
FNC_API_URL = SCALEWAY_API_URL + f"functions/v1beta1/regions/{REGION_FR_PAR}"
17+
FNC_API_URL = constants.SCALEWAY_API_URL + f"functions/v1beta1/regions/{REGION_FR_PAR}"
1818

1919

2020
# pylint: disable=redefined-outer-name # fixture

tests/test_deploy/test_gateway/test_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from scw_serverless.config.route import HTTPMethod
66
from scw_serverless.deploy import gateway
77
from scw_serverless.deploy.gateway.models import GatewayInput, GatewayOutput, Route
8-
from tests.dev.gateway import app
8+
from tests.app_fixtures.gateway import app
99

1010
MOCK_UUID = "xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx"
1111
HELLO_WORLD_MOCK_ENDPOINT = (

0 commit comments

Comments
 (0)