Test calling NilmDB.close twice to improve coverage

This commit is contained in:
Jim Paris 2019-08-14 18:22:50 -04:00
parent c5c7f638e7
commit d1e241a213

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()