From c7d2477f764ccf6cb8cd53f446bd6705c6a59e37 Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Wed, 5 Feb 2020 18:36:32 -0300 Subject: [PATCH] added tests --- tests/test_monitor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_monitor.py b/tests/test_monitor.py index 8b34c11..2b26431 100644 --- a/tests/test_monitor.py +++ b/tests/test_monitor.py @@ -21,9 +21,11 @@ def test_parse_modes(test_data): m = Monitor(data) assert len(m.modes) == 9 assert m.enabled + assert m.primary def test_disabled_monitor(test_data): data = test_data.read("disabled_monitor.txt", deserialize=False).splitlines() m = Monitor(data) assert m.enabled is False + assert m.primary is False