tests: Mock drawin in the permission unit tests.

This commit is contained in:
Emmanuel Lepage Vallee 2020-01-25 20:10:24 -05:00
parent b350ffcb9c
commit 8a877bd429

View file

@ -14,6 +14,13 @@ describe("awful.permissions.client_geometry_requests", function()
_G.tag = {
connect_signal = function() end,
}
_G.awesome = {
connect_signal = function() end,
}
_G.drawin = {
set_index_miss_handler = function() end,
set_newindex_miss_handler = function() end
}
local permissions = require("awful.permissions")