Details
-
Type:
Improvement
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: daf_persistence
-
Labels:None
-
Story Points:2
-
Team:Architecture
Description
Some of the tests in daf_persistence have a couple of problems that cause difficulties with modern test frameworks:
- unittest is not being used at all in some cases
- Skipping is done with a print and a sys.exit
They need to be modernized.
Changes to the daf_persistence tests so that they all use unittest and they all skip properly if the db-auth.paf file is missing.
Interesting oddity is that some tests fail if launched in one invocation of py.test if DbAuth.py is the first in the list of tests.