Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
kedhammar committed Sep 2, 2024
1 parent 047ac22 commit fa473cd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/element/test_Aviti_Runs.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import tempfile

import pytest

from taca.element import Aviti_Runs as to_test
from tests.element.test_Element_Runs import create_element_run_dir


class TestAviti_Run:
def test_init(self, create_dirs: pytest.fixture):
tmp: tempfile.TemporaryDirectory = create_dirs
run_dir = create_element_run_dir(tmp)
run = to_test.Aviti_Run(run_dir, {})
assert run.run_dir == run_dir
assert run.sequencer_type == "Aviti"

0 comments on commit fa473cd

Please sign in to comment.