mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-16 07:47:22 +01:00
tests: Mock drawin
in the permission unit tests.
This commit is contained in:
parent
b350ffcb9c
commit
8a877bd429
1 changed files with 7 additions and 0 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue