diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2015-09-11 19:35:45 -0300 |
---|---|---|
committer | Victor Shyba <victor.shyba@gmail.com> | 2015-09-11 20:03:09 -0300 |
commit | a5742807539c66577f48d6cfbb411046c17c1978 (patch) | |
tree | d6e15acbb8f62272e46a0885497507340a6e6f2f /server/setup.py | |
parent | 4856c49e93a4ba67055c0dc3e8b4cdbaeabc4940 (diff) |
[tests] use addCleanup to ensure db deletion
Test case has a addCleanup method, which provides a way to clean
resources up and express this need as soon as you create. We are now
using it to simplify some logic on database deletion during the test and
to make sure that as soon as it gets created a cleanup is there to
delete after.
Diffstat (limited to 'server/setup.py')
0 files changed, 0 insertions, 0 deletions