File: test_open_path.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-- 349 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""Test the OpenPath model."""

from syrupy.assertion import SnapshotAssertion

from systembridgemodels.open_path import OpenPath


def test_open_path(snapshot: SnapshotAssertion):
    """Test the open_path."""
    open_path = OpenPath(
        path="/path/to/file",
    )
    assert isinstance(open_path, OpenPath)
    assert open_path == snapshot