From fcb3005cd685d747e45b4ce4d2594651c50a8d0d Mon Sep 17 00:00:00 2001
From: thomahl <thomahl@stud.ntnu.no>
Date: Wed, 22 Apr 2020 15:57:10 +0200
Subject: [PATCH] =?UTF-8?q?#125=20l=C3=A5st=20oppl=C3=B8sningstest=20til?=
 =?UTF-8?q?=20windows?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 test/test_resolution_smoke_test.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/test_resolution_smoke_test.py b/test/test_resolution_smoke_test.py
index f69daef..2b41e02 100644
--- a/test/test_resolution_smoke_test.py
+++ b/test/test_resolution_smoke_test.py
@@ -11,7 +11,7 @@ the user. Our pipeline will test across a couple of different resolutions.
 import unittest
 from PySide2.QtWidgets import QApplication
 from PySide2 import QtGui
-from PySide2.QtCore import QTimer, Qt
+from PySide2.QtCore import QTimer, Qt, QSysInfo
 from PySide2.QtTest import QTest
 from PySide2.QtGui import QGuiApplication
 from soitool.soi import SOI
@@ -67,6 +67,7 @@ def screen_information():
 class TestModulesAcrossResolutions(unittest.TestCase):
     """TestCase for modules across resolutions."""
 
+    @unittest.skipUnless(QSysInfo.productType(), "windows")
     def test_add_all_modules(self):
         """Add all modules, reorganize, and assert result.
 
-- 
GitLab