Skip to content

Commit

Permalink
fix: testing suits
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonkoehn committed Dec 2, 2024
1 parent 8aa6561 commit 3a3e512
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/test_scripts_dgicev.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import pytest


@pytest.mark.optional
@pytest.mark.skip(reason="Only for testing purposes")
def bam_to_sam(bam_file):
"""Converts a BAM file to SAM format and returns it as a string.
Expand All @@ -28,7 +28,7 @@ def bam_to_sam(bam_file):
return temp_sam.read().decode()


@pytest.mark.optional
@pytest.mark.skip(reason="Only for testing purposes")
def test_read_run_error_free():
"""Test the read.py script by piping SAM data to it."""
input_bam = "tests/data/REF_aln_trim_subsample.bam"
Expand Down
5 changes: 3 additions & 2 deletions tests/test_silo_input_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

import pytest

import silo_input_transformer

logging.basicConfig(level=logging.INFO)

config_path = "silo_input_transformer/config.yaml"
Expand All @@ -18,6 +16,9 @@
)
def test_transform():
"""Test to run Rust based Silo input transformer, fail for error."""

import silo_input_transformer

result = silo_input_transformer.run_with_config(config_path) # type: ignore
logging.info(f"Result from Rust: {result}")
return result
Expand Down

0 comments on commit 3a3e512

Please sign in to comment.