From 4de92c0eb764d5c6ac5a22f59faa869a8d4d0e58 Mon Sep 17 00:00:00 2001 From: fdev31 Date: Mon, 29 Apr 2024 18:41:26 +0200 Subject: [PATCH] allow tests to pass --- pyprland/command.py | 2 +- tests/conftest.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pyprland/command.py b/pyprland/command.py index 8847088..3e07197 100755 --- a/pyprland/command.py +++ b/pyprland/command.py @@ -407,7 +407,7 @@ async def run_client(): manager = Pyprland() if sys.argv[1] == "version": - print("2.2.14-20") # Automatically updated version + print("2.2.14-21") # Automatically updated version return if sys.argv[1] == "edit": diff --git a/tests/conftest.py b/tests/conftest.py index a10c391..bf6291a 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,5 +1,6 @@ " generic fixtures " import asyncio +import os import tomllib from copy import deepcopy from dataclasses import dataclass, field @@ -10,6 +11,8 @@ from .testtools import MockReader, MockWriter +os.environ["HYPRLAND_INSTANCE_SIGNATURE"] = "ABCD" + CONFIG_1 = tomllib.load(open("tests/sample_config.toml", "rb"))