mirror of
https://github.com/ralsina/xrandroll.git
synced 2025-06-26 14:21:59 -03:00
Working on making modes nicer
This commit is contained in:
@ -20,6 +20,8 @@ def test_parse_modes(test_data):
|
||||
data = test_data.read("monitor_1.txt", deserialize=False).splitlines()
|
||||
m = Monitor(data)
|
||||
assert len(m.modes) == 9
|
||||
assert "0x56" in m.modes
|
||||
assert str(m.modes["0x56"]) == "1920x1080 (0x56)"
|
||||
assert m.enabled
|
||||
assert m.primary
|
||||
assert m.orientation == "normal"
|
||||
|
Reference in New Issue
Block a user