Skip to content

Commit 7b3c226

Browse files
Laure-diGnoale
authored andcommitted
tests: skip api-test
1 parent a5e389b commit 7b3c226

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

scaleway/tests/test_test_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from scaleway import Client, WaitForOptions
88
from scaleway.test.v1 import EyeColors, Human, HumanStatus, TestV1API
99

10-
10+
@unittest.skip("API test is not deploy")
1111
class TestTestV1(unittest.TestCase):
1212
def setUp(self) -> None:
1313
client = Client.from_config_file_and_env()

scaleway/tests/test_test_v1_marshalling.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
system_random = random.SystemRandom()
2222

23-
2423
def _mock_human_raw() -> Dict[str, Any]:
2524
altitude_in_meter = system_random.randint(0, 100)
2625
created_at = utils.random_date_string(
@@ -67,8 +66,7 @@ def _mock_human() -> Human:
6766
name=utils.random_name(),
6867
project_id=str(uuid.uuid4()),
6968
)
70-
71-
69+
@unittest.skip("API test is not deploy")
7270
class TestTestV1UnmarshallingHuman(unittest.TestCase):
7371
def _assert_raw_and_unmarshalled_human(
7472
self,
@@ -126,7 +124,6 @@ def test_unmarshal_ListHumansResponse(self) -> None:
126124
humans[i], list_humans_response.humans[i]
127125
)
128126

129-
130127
def _mock_create_human_request() -> CreateHumanRequest:
131128
human = _mock_human()
132129

@@ -144,7 +141,7 @@ def _mock_create_human_request() -> CreateHumanRequest:
144141
organization_id=human.organization_id,
145142
)
146143

147-
144+
@unittest.skip("API test is not deploy")
148145
class TestTestV1MarshallingCreateHumanRequest(unittest.TestCase):
149146
def _assert_create_human_request_and_raw(
150147
self,

0 commit comments

Comments
 (0)