Skip to content

Commit

Permalink
allow tests to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
fdev31 committed Apr 29, 2024
1 parent 6a193fa commit 4de92c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyprland/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
3 changes: 3 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
" generic fixtures "
import asyncio
import os
import tomllib
from copy import deepcopy
from dataclasses import dataclass, field
Expand All @@ -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"))


Expand Down

0 comments on commit 4de92c0

Please sign in to comment.