Skip to content

Commit

Permalink
bug: fix incorrect test check
Browse files Browse the repository at this point in the history
  • Loading branch information
fedorov authored and vkt1414 committed May 7, 2024
1 parent 01cd307 commit 4912c2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/idcindex.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def test_download_dicom_series(self):
seriesInstanceUID="1.3.6.1.4.1.14519.5.2.1.7695.1700.153974929648969296590126728101",
downloadDir=temp_dir,
)
self.assertEqual(sum([len(files) for r, d, files in os.walk(temp_dir)]), 9)
self.assertEqual(sum([len(files) for r, d, files in os.walk(temp_dir)]), 3)

def test_download_with_template(self):
dirTemplateValues = [
Expand All @@ -124,7 +124,7 @@ def test_download_with_template(self):
dirTemplate=template,
)
self.assertEqual(
sum([len(files) for r, d, files in os.walk(temp_dir)]), 9
sum([len(files) for r, d, files in os.walk(temp_dir)]), 3
)

def test_download_from_selection(self):
Expand Down

0 comments on commit 4912c2c

Please sign in to comment.