# noqa
from dodo_commands.extra.standard_commands import DodoCommand


class Command(DodoCommand):  # noqa
    help = ""
    decorators = ["docker"]

    def handle_imp(self, **kwargs):  # noqa
        self.runcmd(
            [
                self.get_config("/PYTEST/pytest"),
                "-k", "test_accessibility_password_reset_recover_page"
            ],
            cwd=self.get_config("/PYTEST/src_dir")
        )

# noqa
import argparse
from dodo_commands.extra.standard_commands import DodoCommand


class Command(DodoCommand):  # noqa
    help = ""
    decorators = ["docker"]

    def add_arguments_imp(self, parser):  # noqa
        parser.add_argument(
            'pytest_args',
            nargs=argparse.REMAINDER
        )

    def handle_imp(self, pytest_args, **kwargs):  # noqa
        self.runcmd(
            [
                self.get_config("/PYTEST/pytest"),
            ] + pytest_args,
            cwd=self.get_config("/PYTEST/src_dir")
        )

Add pytest_args argument to dodo pytest