mirror of
https://github.com/ralsina/xrandroll.git
synced 2024-11-23 19:42:23 +00:00
more asserts
This commit is contained in:
parent
c7d2477f76
commit
ba7cf07550
@ -10,10 +10,12 @@ def test_parse_data(test_data):
|
||||
|
||||
def test_parse_with_disconnected_monitors(test_data):
|
||||
data = test_data.read("fisa_sample.txt", deserialize=False).splitlines()
|
||||
parse_data(data)
|
||||
screen = parse_data(data)
|
||||
assert screen.choose_a_monitor() == "DP-1-1"
|
||||
|
||||
|
||||
def test_replicated_monitors(test_data):
|
||||
data = test_data.read("replicated.txt", deserialize=False).splitlines()
|
||||
screen = parse_data(data)
|
||||
assert screen.monitors["eDP"].replica_of == ["HDMI-A-0"]
|
||||
assert screen.choose_a_monitor() == "eDP"
|
||||
|
Loading…
Reference in New Issue
Block a user