Typo
Whack-a-mole salad.
Moar test module normalization:

Prune module-scope imports.

Drop redundant 'if __name__ == __main__ junk.

Use ZODB.DB's DB(None) for the generic test DB.