Fix possible NPE.
Clean up code.
Change assertions semi-automatically.
Further manual changes to assertions
Use pytest idiom to assert exceptions.
Remove self.fail in favour of assert False.

And fix one missed exception handling case.
Remove erroneous test file.
Fix various imports and remove unittest from all test files.
test_client_ctors is a special case that doesn't use lib.ITest
Switch the library from unittest to pytest.
Override setup in imetadata test.
Expose tests in annotationPermissions and override fixtures.
Change tests in subdirectories to pytest.
Fix make movie test.
Move table tests to pytest.
Remove unecessary output from bigImages test and use assertion.
Change missed assertEquals
Merge pull request #1499 from bpindelski/11455-locktimeout

Fix intermittent omero.LockTimeout-s in OmeroJava tests (see #11455)
Modify thumbnail perms tests to resolve conflicts.
Remove capitalization.