remove generic Exception catching in tests
ClosedPublic

Authored by garretraziel on Jun 11 2014, 12:03 PM.

Details

Summary

Change all .raises(Exception) and except Exception to
catch appropriate exceptions from libtaskotron.exceptions.

Test Plan

py.test -F testing run as usual

Diff Detail

Repository
rLTRN libtaskotron
Lint
Lint Skipped
Unit
Unit Tests Skipped
garretraziel retitled this revision from to remove generic Exception catching in tests.Jun 11 2014, 12:03 PM
garretraziel updated this object.
garretraziel edited the test plan for this revision. (Show Details)
garretraziel added reviewers: tflink, kparal.
garretraziel added inline comments.Jun 11 2014, 12:09 PM
testing/test_runner.py
117–118

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).

kparal accepted this revision.Jun 11 2014, 12:24 PM

Thanks! Before pushing, please confirm with @tflink that the do_prep() test is really not needed anymore.

This revision is now accepted and ready to land.Jun 11 2014, 12:24 PM
tflink accepted this revision.Jun 17 2014, 11:16 AM

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

garretraziel closed this revision.Jun 18 2014, 11:39 AM
garretraziel updated this revision to Diff 422.

Closed by commit rLTRNa40f10aebac2 (authored by Garret Raziel <boloomka@gmail.com>).