Skip to content

Commit

Permalink
fix: rename test to checks
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkirchberger committed Apr 18, 2022
1 parent df1b05d commit afacfd6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
File renamed without changes.
18 changes: 9 additions & 9 deletions nectl/tests/cli.py → nectl/checks/cli.py
Expand Up @@ -20,29 +20,29 @@
from ..logging import logging_opts


@click.group(help="Verification commands.")
@click.group(help="Validation commands.")
@logging_opts
def tests():
def checks():
"""
Tests CLI group.
Checks CLI group.
"""


@tests.command(name="list")
@checks.command(name="list")
@click.pass_context
@logging_opts
def list_cmd(ctx):
"""
Use this command to list all configured tests.
Use this command to list all configured checks.
"""
raise NotImplementedError
print("Not implemented.")


@tests.command(name="run")
@checks.command(name="run")
@click.pass_context
@logging_opts
def run_cmd(ctx):
"""
Use this command to run tests.
Use this command to run checks.
"""
raise NotImplementedError
print("Not implemented.")
4 changes: 2 additions & 2 deletions nectl/cli.py
Expand Up @@ -23,7 +23,7 @@
from .settings import APP_VERSION, APP_DESCRIPTION, get_settings
from .datatree.cli import datatree
from .configs.cli import configs
from .tests.cli import tests
from .checks.cli import checks


def main():
Expand Down Expand Up @@ -55,4 +55,4 @@ def cli_root(ctx):
# Add child groups
cli_root.add_command(datatree)
cli_root.add_command(configs)
cli_root.add_command(tests)
cli_root.add_command(checks)

0 comments on commit afacfd6

Please sign in to comment.