Skip to content

Commit

Permalink
Disable complexity score tests on Windows, which are broken per #221.
Browse files Browse the repository at this point in the history
I am not happy to have these not working, but they have been not working for quite some time, and we only just found out about it in resolving #219.
  • Loading branch information
jakebeal committed Oct 12, 2023
1 parent 2827f3a commit 9c5cf91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_calculate_complexity_scores.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def same_except_timestamps(doc1: sbol3.Document, doc2: sbol3.Document) -> bool:

class TestIDTCalculateComplexityScore(unittest.TestCase):

@unittest.skipIf(sys.platform == 'win32', reason='Not working on Windows https://github.com/SynBioDex/SBOL-utilities/issues/221')
def test_IDT_calculate_complexity_score(self):
"""Test that a library-call invocation of complexity scoring works"""
test_dir = Path(__file__).parent
Expand Down Expand Up @@ -66,6 +67,7 @@ def test_IDT_calculate_complexity_score(self):
scores = get_complexity_scores(sequences)
self.assertEqual(scores, {sequences[0]: 0})

@unittest.skipIf(sys.platform == 'win32', reason='Not working on Windows https://github.com/SynBioDex/SBOL-utilities/issues/221')
def test_commandline(self):
"""Test that a command-line invocation of complexity scoring works"""
test_dir = Path(__file__).parent
Expand Down

0 comments on commit 9c5cf91

Please sign in to comment.