Skip to content

Commit 1156d77

Browse files
committed
[Linters] Ignoring rule C901 (too complex) on test code: test_ad_integration and test_runner.
Signed-off-by: Giacomo Marciani <mgiacomo@amazon.com>
1 parent 453ab6d commit 1156d77

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/integration-tests/test_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ def _set_ami_args(args, pytest_args):
614614
pytest_args.extend(["--ami-owner", args.ami_owner])
615615

616616

617-
def _set_custom_stack_args(args, pytest_args):
617+
def _set_custom_stack_args(args, pytest_args): # noqa: C901
618618
if args.vpc_stack:
619619
pytest_args.extend(["--vpc-stack", args.vpc_stack])
620620

tests/integration-tests/tests/ad_integration/test_ad_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ def _check_ssh_key(user, ssh_generation_enabled, remote_command_executor, schedu
521521
],
522522
)
523523
@pytest.mark.usefixtures("os", "instance")
524-
def test_ad_integration(
524+
def test_ad_integration( # noqa: C901
525525
region,
526526
scheduler,
527527
scheduler_commands_factory,

0 commit comments

Comments
 (0)