[ZODB-Dev] Duplicate tests

Thomas Lotze thomas at thomas-lotze.de
Tue Jan 22 03:28:57 EST 2008


I found that in the transaction and ZODB packages, some test files are
duplicates of each other:

- The transaction tests contain sampledm.py and test_SampleDataManager.py
  which are the same up to defining a test suite for "setup.py test"
  support. Is this intentional or some half-finished renaming or
  refactoring?

- sampledm.py comes with both the transaction and ZODB tests. It is being
  used in both cases but I wonder whether it wouldn't be sufficient to
  provide it with the transaction package which is required by the ZODB
  tests anyway.

Moreover, the ZODB tests contain LocalStorage.py which doesn't seem to be
used at all. Can this go away?

-- 
Thomas





More information about the ZODB-Dev mailing list