Change all .raises(Exception) and except Exception to
catch appropriate exceptions from libtaskotron.exceptions.
Details
Details
- Reviewers
kparal tflink - Maniphest Tasks
- T212: don't catch Exceptions in Runner's unit tests
- Commits
- rLTRNa40f10aebac2: remove generic Exception catching in tests
py.test -F testing run as usual
Diff Detail
Diff Detail
- Repository
- rLTRN libtaskotron
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Comment Actions
Thanks! Before pushing, please confirm with @tflink that the do_prep() test is really not needed anymore.
Comment Actions
Sorry for the delay, didn't realize this was waiting on me.
do_prep() is a leftover artifact from the initial taskbot code, it can be removed
I went trough changes in git and decided that there isn't currently code with the same functionality that should be tested. do_prep() was removed in D5 (and, ironically, this test was introduced in D5).