pelicun.tests.basic.test_cli

These are unit tests for the command-line interface of pelicun.

Functions

test_dlml_stub_accepts_legacy_arguments(...)

Retired pelicun dlml update ... invocations still succeed.

test_dlml_stub_exit_code()

pelicun dlml update exits with code 0 in a real subprocess.

test_dlml_stub_prints_notice(monkeypatch, capsys)

A bare pelicun dlml prints the informational notice.

pelicun.tests.basic.test_cli.test_dlml_stub_accepts_legacy_arguments(monkeypatch: pytest.MonkeyPatch, capsys: pytest.CaptureFixture[str]) None[source]

Retired pelicun dlml update … invocations still succeed.

pelicun.tests.basic.test_cli.test_dlml_stub_exit_code() None[source]

pelicun dlml update exits with code 0 in a real subprocess.

pelicun.tests.basic.test_cli.test_dlml_stub_prints_notice(monkeypatch: pytest.MonkeyPatch, capsys: pytest.CaptureFixture[str]) None[source]

A bare pelicun dlml prints the informational notice.