Skip to content

Commit 69277f6

Browse files
committed
tests(vpc): change init Client method
1 parent 880b885 commit 69277f6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/checks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,5 +119,6 @@ jobs:
119119
SCW_DEFAULT_PROJECT_ID: ${{ secrets.SCW_DEFAULT_PROJECT_ID }}
120120
SCW_DEFAULT_ORGANIZATION_ID: ${{ secrets.SCW_DEFAULT_ORGANIZATION_ID }}
121121
SCW_DEFAULT_REGION: ${{ secrets.SCW_DEFAULT_REGION }}
122+
SCW_DEFAULT_ZONE: ${{ secrets.SCW_DEFAULT_ZONE }}
122123
run: poetry run python -m unittest discover -s tests -v
123124

scaleway/tests/test_instance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
class TestE2EServerCreation(unittest.TestCase):
2323
def setUp(self) -> None:
2424
self.zone = zone
25-
self.client = Client.from_config_file_and_env()
25+
self.client = Client.from_env()
2626
self.instanceAPI = InstanceV1API(self.client, bypass_validation=True)
2727
self.blockAPI = BlockV1Alpha1API(self.client, bypass_validation=True)
2828
self._server = None

0 commit comments

Comments
 (0)