aiidateam / aiida-core

The official repository for the AiiDA code
https://aiida-core.readthedocs.io
Other
412 stars 184 forks source link

Capture `ImportTestRun` as `dry-run` success #6403

Closed GeigerJ2 closed 1 month ago

GeigerJ2 commented 1 month ago

Fixes #6401

In the _import_archive_and_migrate function, the ImportTestRun exception is specifically captured, success communicated to the user, and the function returned to not print the final echo_successs which is issued after actual archive import into the profile.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 25.00000% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 77.65%. Comparing base (ef60b66) to head (7f377fc). Report is 9 commits behind head on main.

Files Patch % Lines
src/aiida/cmdline/commands/cmd_archive.py 25.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6403 +/- ## ========================================== + Coverage 77.51% 77.65% +0.15% ========================================== Files 560 562 +2 Lines 41444 41656 +212 ========================================== + Hits 32120 32345 +225 + Misses 9324 9311 -13 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.