tests: Mock `drawin` in the permission unit tests.
This commit is contained in:
parent
b350ffcb9c
commit
8a877bd429
|
@ -14,6 +14,13 @@ describe("awful.permissions.client_geometry_requests", function()
|
||||||
_G.tag = {
|
_G.tag = {
|
||||||
connect_signal = function() end,
|
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")
|
local permissions = require("awful.permissions")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue