You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AssertionError when download bundles from ngc #8160
[2024-10-18T08:13:09.197Z] ======================================================================
[2024-10-18T08:13:09.197Z] FAIL: test_download_ngc (tests.test_bundle_download.TestDownload)
[2024-10-18T08:13:09.197Z] Test checking MONAI version from a metadata file.
[2024-10-18T08:13:09.197Z] ----------------------------------------------------------------------
[2024-10-18T08:13:09.197Z] Traceback (most recent call last):
[2024-10-18T08:13:09.197Z] File "/usr/lib/python3.10/unittest/mock.py", line 1379, in patched
[2024-10-18T08:13:09.197Z] return func(*newargs, **newkeywargs)
[2024-10-18T08:13:09.197Z] File "/tmp/MONAI/tests/test_bundle_download.py", line 259, in test_download_ngc
[2024-10-18T08:13:09.197Z] mock_logger.warning.assert_not_called()
[2024-10-18T08:13:09.197Z] File "/usr/lib/python3.10/unittest/mock.py", line 890, in assert_not_called
[2024-10-18T08:13:09.197Z] raise AssertionError(msg)
[2024-10-18T08:13:09.197Z] AssertionError: Expected 'warning' to not have been called. Called 1 times.
[2024-10-18T08:13:09.197Z] Calls: [call('Your MONAI version is 1.2, but the bundle is built on MONAI version 1.4.0.')].
Activity
fix Project-MONAI#8160
Fix unittest (Project-MONAI#8161)