From 4912c2ca121a05c30bd06cf1e6c1c59f37c8130a Mon Sep 17 00:00:00 2001 From: Andrey Fedorov Date: Mon, 6 May 2024 22:43:29 -0400 Subject: [PATCH] bug: fix incorrect test check --- tests/idcindex.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/idcindex.py b/tests/idcindex.py index 07d06839..26a1fc01 100644 --- a/tests/idcindex.py +++ b/tests/idcindex.py @@ -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 = [ @@ -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):