Skip to content

Commit 8cd9f1a

Browse files
committed
fix tests
1 parent b2f8d98 commit 8cd9f1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/asynchronous/test_connection_monitoring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ async def run_scenario(self):
462462

463463

464464
class CMAPSpecTestCreator(AsyncSpecTestCreator):
465-
async def tests(self, scenario_def):
465+
def tests(self, scenario_def):
466466
"""Extract the tests from a spec file.
467467
468468
CMAP tests do not have a 'tests' field. The whole file represents

test/asynchronous/utils_spec_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ async def _create_tests(self):
222222
test_type = os.path.splitext(filename)[0]
223223

224224
# Construct test from scenario.
225-
for test_def in await self.tests(scenario_def):
225+
for test_def in self.tests(scenario_def):
226226
test_name = "test_{}_{}_{}".format(
227227
dirname,
228228
test_type.replace("-", "_").replace(".", "_"),

0 commit comments

Comments
 (0)