Browse Source

Test calling NilmDB.close twice to improve coverage

tags/nilmdb-2.0.0
Jim Paris 4 years ago
parent
commit
d1e241a213
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      tests/test_nilmdb.py

+ 1
- 0
tests/test_nilmdb.py View File

@@ -33,6 +33,7 @@ class Test00Nilmdb(object): # named 00 so it runs first
db.close()
db = nilmdb.server.NilmDB(testdb)
db.close()
db.close()

# test timer, just to get coverage
capture = io.StringIO()


Loading…
Cancel
Save