File: test_processes.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 (14 lines) | stat: -rw-r--r-- 457 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""Test the networks module model."""

from syrupy.assertion import SnapshotAssertion

from systembridgemodels.fixtures.modules.processes import FIXTURE_PROCESSES
from systembridgemodels.modules.processes import Process


def test_networks(snapshot: SnapshotAssertion):
    """Test the processes model."""
    processes = FIXTURE_PROCESSES
    assert isinstance(processes, list)
    assert isinstance(processes[0], Process)
    assert processes == snapshot