Skip to content

Commit 9b8ed67

Browse files
committed
change test to async in the sync folder
1 parent 53f964c commit 9b8ed67

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/integration/synapseclient/models/synchronous/test_json_schema.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def entity_view(self, project_model: Project) -> EntityView:
139139
return entity_view
140140

141141
@pytest.mark.parametrize("entity_type", [Folder, Project, File, EntityView, Table])
142-
def test_bind_schema(
142+
async def test_bind_schema(
143143
self,
144144
entity_type: Type[Union[Folder, Project, File, EntityView, Table]],
145145
project_model: Project,
@@ -172,7 +172,7 @@ def test_bind_schema(
172172
created_entity.unbind_schema(synapse_client=self.syn)
173173

174174
@pytest.mark.parametrize("entity_type", [Folder, Project, File, EntityView, Table])
175-
def test_get_schema(
175+
async def test_get_schema(
176176
self,
177177
entity_type: Type[Union[Folder, Project, File, EntityView, Table]],
178178
project_model: Project,
@@ -207,7 +207,7 @@ def test_get_schema(
207207
created_entity.unbind_schema(synapse_client=self.syn)
208208

209209
@pytest.mark.parametrize("entity_type", [Folder, Project, File, EntityView, Table])
210-
def test_unbind_schema(
210+
async def test_unbind_schema(
211211
self,
212212
entity_type: Type[Union[Folder, Project, File, EntityView, Table]],
213213
project_model: Project,
@@ -244,7 +244,7 @@ def test_unbind_schema(
244244
created_entity.get_schema(synapse_client=self.syn)
245245

246246
@pytest.mark.parametrize("entity_type", [Folder, Project, File, EntityView, Table])
247-
def test_get_schema_derived_keys(
247+
async def test_get_schema_derived_keys(
248248
self,
249249
entity_type: Type[Union[Folder, Project, File, EntityView, Table]],
250250
project_model: Project,
@@ -298,7 +298,7 @@ def test_get_schema_derived_keys(
298298
created_entity.unbind_schema(synapse_client=self.syn)
299299

300300
@pytest.mark.parametrize("entity_type", [Folder, Project, File, EntityView, Table])
301-
def test_validate_schema_invalid_annos(
301+
async def test_validate_schema_invalid_annos(
302302
self,
303303
entity_type: Type[Union[Folder, Project, File, EntityView, Table]],
304304
project_model: Project,
@@ -355,7 +355,7 @@ def test_validate_schema_invalid_annos(
355355
created_entity.unbind_schema(synapse_client=self.syn)
356356

357357
@pytest.mark.parametrize("entity_type", [Folder, Project, File, EntityView, Table])
358-
def test_validate_schema_valid_annos(
358+
async def test_validate_schema_valid_annos(
359359
self,
360360
entity_type: Type[Union[Folder, Project, File, EntityView, Table]],
361361
project_model: Project,
@@ -397,7 +397,7 @@ def test_validate_schema_valid_annos(
397397
created_entity.unbind_schema(synapse_client=self.syn)
398398

399399
@pytest.mark.parametrize("entity_type", [Folder, Project])
400-
def test_get_validation_statistics(
400+
async def test_get_validation_statistics(
401401
self,
402402
entity_type: Type[Union[Folder, Project, File, EntityView, Table]],
403403
project_model: Project,
@@ -474,7 +474,7 @@ def test_get_validation_statistics(
474474
created_entity.unbind_schema(synapse_client=self.syn)
475475

476476
@pytest.mark.parametrize("entity_type", [Folder, Project])
477-
def test_get_invalid_validation(
477+
async def test_get_invalid_validation(
478478
self,
479479
entity_type: Type[Union[Folder, Project]],
480480
project_model: Project,

0 commit comments

Comments
 (0)