Skip to content

Commit

Permalink
tests: make $DISPLAY available for x11
Browse files Browse the repository at this point in the history
I am not really sure why this passes in our CI ($DISPLAY wouldn't be set
there I wouldn't think?), but hopefully this fixes it.

Signed-off-by: Tycho Andersen <tycho@tycho.pizza>
  • Loading branch information
tych0 committed Apr 13, 2024
1 parent f987f5f commit 031781f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/backend/x11/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ def __init__(self, env, args=()):
self.args = args
self.core = Core
self.manager = None
success, display = manager.c.eval("self.core.display_name")
assert success
self.env["DISPLAY"] = display

def fake_click(self, x, y):
"""Click at the specified coordinates"""
Expand Down

0 comments on commit 031781f

Please sign in to comment.