File: test_system.py

package info (click to toggle)
systembridgemodels 5.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 808 kB
  • sloc: python: 1,855; makefile: 6
file content (13 lines) | stat: -rw-r--r-- 387 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
"""Test the networks module model."""

from syrupy.assertion import SnapshotAssertion

from systembridgemodels.fixtures.modules.system import FIXTURE_SYSTEM
from systembridgemodels.modules.system import System


def test_system(snapshot: SnapshotAssertion):
    """Test the system model."""
    system = FIXTURE_SYSTEM
    assert isinstance(system, System)
    assert system == snapshot