summaryrefslogtreecommitdiffstats
path: root/tests/test_core.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_core.py')
-rw-r--r--tests/test_core.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index cc4755f..d85a6e6 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -2,16 +2,24 @@ import click
import pickle
import pytest
+from pydanclick import core
+from tests import conftest
+
def test_get_option_arguments_ok(valid_arguments):
# core.get_option_arguments(schema, parameter, "mega-option")
pass
-def test_generate_cli_options_start(valid_command_entrypoint):
+def test_generate_cli_options_start():
+
+ @click.command()
+ @core.generate_cli_options()
+ def entrypoint(parameters: conftest.GenericArguments):
+ pass
with pytest.raises(SystemExit):
- valid_command_entrypoint()
+ entrypoint()
@pytest.mark.parametrize(
remember that computers suck.