mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
tests: tweak tags
Drop `nocov` tag for tests already tagged with `notest` (already ignored when doing a coverage run).
This commit is contained in:
committed by
Frans de Jonge
parent
74c9347bba
commit
e10017042e
@@ -1,4 +1,4 @@
|
||||
describe("HTTP client module #notest #nocov", function()
|
||||
describe("HTTP client module #notest", function()
|
||||
local UIManager
|
||||
setup(function()
|
||||
require("commonrequire")
|
||||
|
||||
@@ -50,7 +50,7 @@ local service = [[
|
||||
}
|
||||
]]
|
||||
|
||||
describe("KOSync modules #notest #nocov", function()
|
||||
describe("KOSync modules #notest", function()
|
||||
local logger, md5, client
|
||||
local username, password, doc, percentage, progress, device
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ local service = [[
|
||||
}
|
||||
]]
|
||||
|
||||
describe("Lua Spore modules #notest #nocov", function()
|
||||
describe("Lua Spore modules #notest", function()
|
||||
local Spore, client
|
||||
setup(function()
|
||||
require("commonrequire")
|
||||
@@ -53,7 +53,7 @@ describe("Lua Spore modules #notest #nocov", function()
|
||||
end)
|
||||
end)
|
||||
|
||||
describe("Lua Spore modules with async http request #notest #nocov", function()
|
||||
describe("Lua Spore modules with async http request #notest", function()
|
||||
local client, UIManager
|
||||
|
||||
setup(function()
|
||||
|
||||
@@ -14,7 +14,7 @@ describe("Translator module", function()
|
||||
G_reader_settings:delSetting("trans_server")
|
||||
G_reader_settings:flush()
|
||||
end)
|
||||
-- add " #notest #nocov" to the it("description string") when it does not work anymore
|
||||
-- add " #notest" to the it("description string") when it does not work anymore
|
||||
it("should return translation #internet", function()
|
||||
local translation_result = Translator:translate(dutch_wikipedia_text, "en")
|
||||
assert.is.truthy(translation_result)
|
||||
|
||||
Reference in New Issue
Block a user