Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
soitool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bachelor-paa-bittet
soitool
Commits
fcb3005c
Commit
fcb3005c
authored
4 years ago
by
Thomas Holene Løkkeborg
Browse files
Options
Downloads
Patches
Plain Diff
#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
4 years ago
Stage: lint
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/test_resolution_smoke_test.py
+2
-1
2 additions, 1 deletion
test/test_resolution_smoke_test.py
with
2 additions
and
1 deletion
test/test_resolution_smoke_test.py
+
2
−
1
View file @
fcb3005c
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment