Skip to content
Snippets Groups Projects
Commit fcb3005c authored by Thomas Holene Løkkeborg's avatar Thomas Holene Løkkeborg
Browse files

#125 låst oppløsningstest til windows

parent 809fe876
No related branches found
No related tags found
1 merge request!70#125 løsning til oppløsningstrøbbel ved å bruke px ikke pt i font
Pipeline #82976 failed
...@@ -11,7 +11,7 @@ the user. Our pipeline will test across a couple of different resolutions. ...@@ -11,7 +11,7 @@ the user. Our pipeline will test across a couple of different resolutions.
import unittest import unittest
from PySide2.QtWidgets import QApplication from PySide2.QtWidgets import QApplication
from PySide2 import QtGui from PySide2 import QtGui
from PySide2.QtCore import QTimer, Qt from PySide2.QtCore import QTimer, Qt, QSysInfo
from PySide2.QtTest import QTest from PySide2.QtTest import QTest
from PySide2.QtGui import QGuiApplication from PySide2.QtGui import QGuiApplication
from soitool.soi import SOI from soitool.soi import SOI
...@@ -67,6 +67,7 @@ def screen_information(): ...@@ -67,6 +67,7 @@ def screen_information():
class TestModulesAcrossResolutions(unittest.TestCase): class TestModulesAcrossResolutions(unittest.TestCase):
"""TestCase for modules across resolutions.""" """TestCase for modules across resolutions."""
@unittest.skipUnless(QSysInfo.productType(), "windows")
def test_add_all_modules(self): def test_add_all_modules(self):
"""Add all modules, reorganize, and assert result. """Add all modules, reorganize, and assert result.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment