Skip to content

Commit

Permalink
biocommons#741 excluding data intensive tests from CI. They would cre…
Browse files Browse the repository at this point in the history
…ate too much caching burden.
  • Loading branch information
andreasprlic committed Sep 6, 2024
1 parent d08f02d commit 401c5a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_pretty_print.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from hgvs.pretty.pretty_print import PrettyPrint


@pytest.mark.skip("The pretty print tests are data hungry. If we were to add the data to the test cache, we would inflate the size of the cache. As such only running when necessary.")
@pytest.mark.skip(reason="The pretty print tests are data hungry. If we were to add the data to the test cache, we would inflate the size of the cache. As such only running when necessary.")
@pytest.mark.quick
@pytest.mark.models
class Test_SimplePosition(unittest.TestCase):
Expand Down
3 changes: 3 additions & 0 deletions tests/test_repeats.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from parameterized import parameterized

import pytest
import hgvs
import hgvs.dataproviders
from hgvs.pretty.datacompiler import DataCompiler
Expand Down Expand Up @@ -32,6 +33,7 @@ def test_count_repetitive_units(self, s: str, u: str, c: int):
self.assertEqual(u, observed_u)
self.assertEqual(c, observed_c)

@pytest.mark.skip(reason="would add too much caching burden.")
@parameterized.expand(
[
("NC_000019.10:g.45770205del", True, "C", 6, 5, "C[6]>C[5]"),
Expand All @@ -56,6 +58,7 @@ def test_homopolymer(self, hgvs_g, is_repeat, repeat_unit, ref_count, alt_count,
self.assertEqual(ref_count, ra.ref_count)
self.assertEqual(alt_count, ra.alt_count)

@pytest.mark.skip(reason="would add too much caching burden.")
@parameterized.expand(
[
(
Expand Down

0 comments on commit 401c5a3

Please sign in to comment.