inveniosoftware / troubleshooting

DEPRECATED - Use the forum instead:
https://invenio-talk.web.cern.ch
5 stars 4 forks source link

Click 7.0 changed exit_code to 1 for exceptions #41

Open dinosk opened 5 years ago

dinosk commented 5 years ago

Tests that use CliRunner.invoke() expecting an exception different than SystemExit, should change the expected exit_code from -1 to 1 if they upgrade to click>=7.0. PR with with the change: https://github.com/pallets/click/commit/3dfbb984214ff86e35b27672e37b9889eba71004