mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-02-05 06:34:03 +00:00
4d7e5e531 we will set these at runtime 39c9e8785 templated SPIFF_SUBDOMAIN for keycloak 1a51f9091 update flask-bpmn 354e6edb1 Merge pull request #8 from sartography/feature/clean_up_sentry_errors 0c11a0b75 pyl passes w/ burnettk 9c57a876e avoid sending two errors to sentry w/ burnettk git-subtree-dir: spiffworkflow-backend git-subtree-split: 4d7e5e53185431b113eb7c038b687134499422c8
17 lines
434 B
Python
17 lines
434 B
Python
"""Test cases for the __main__ module."""
|
|
import pytest
|
|
from click.testing import CliRunner
|
|
from spiffworkflow_backend import __main__
|
|
|
|
|
|
@pytest.fixture
|
|
def runner() -> CliRunner:
|
|
"""Fixture for invoking command-line interfaces."""
|
|
return CliRunner()
|
|
|
|
|
|
def test_main_succeeds(runner: CliRunner) -> None:
|
|
"""It exits with a status code of zero."""
|
|
result = runner.invoke(__main__.main)
|
|
assert result.exit_code == 0
|