Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/howldream/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Controlled experiments. Dream output is data, not authority."""

__version__ = "0.4.4"
__version__ = "0.4.5"
13 changes: 13 additions & 0 deletions tests/test_interop_descriptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,19 @@ def test_descriptor_shape(monkeypatch, capsys):
assert SCHEMA_ID.match(schema), schema


def test_version_matches_pyproject():
from pathlib import Path

try:
import tomllib
except ImportError:
import tomli as tomllib
pyproject_path = Path(__file__).resolve().parent.parent / "pyproject.toml"
with open(pyproject_path, "rb") as f:
data = tomllib.load(f)
assert __version__ == data["project"]["version"]


def test_every_subcommand_and_flag_is_described(monkeypatch, capsys):
described = {
tuple(c["path"]): set(c["flags"]) for c in descriptor(monkeypatch, capsys)["commands"]
Expand Down
Loading