File: test_models.py

package info (click to toggle)
python-technove 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 408 kB
  • sloc: python: 653; sh: 5; makefile: 3
file content (14 lines) | stat: -rw-r--r-- 357 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""Tests for `technove.TechnoVE`."""


from technove import Status


def test_status_build() -> None:
    """Test status build with a known status code."""
    assert Status.build(67) == Status.PLUGGED_CHARGING


def test_status_build_unknown() -> None:
    """Test status build with an unknown status code."""
    assert Status.build(42) == Status.UNKNOWN