14 lines
351 B
Python
14 lines
351 B
Python
from __future__ import annotations
|
|
|
|
from {{ cookiecutter.package_name }} import __version__
|
|
from {{ cookiecutter.package_name }}.config import get_config
|
|
|
|
|
|
def test_public_version_is_string() -> None:
|
|
assert isinstance(__version__, str)
|
|
|
|
|
|
def test_get_config_defaults() -> None:
|
|
settings = get_config()
|
|
assert settings.greeting == "Hello"
|