Tests: make sure files are deleted (#6323)

calling `docsettings:flush()` was causing the sidecar file to be recreated leaving garbage folders in the KOreader folder after running the tests
reviewable/pr6327/r1
yparitcher 4 years ago committed by GitHub
parent 37cf106fce
commit b54d04de5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -33,7 +33,6 @@ describe("document registry module", function()
local docsettings = DocSettings:open(path)
docsettings:purge()
docsettings:flush()
end)
it("should set global setting for rendering engine", function()
local path = "../../foo.fb2"
@ -58,7 +57,6 @@ describe("document registry module", function()
assert.is_equal("mupdf", provider.provider)
docsettings:purge()
docsettings:flush()
end)
it("should return global setting for rendering engine", function()
local path = "../../foofoo.fb2"

Loading…
Cancel
Save