Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2017-10-02 16:12:56 +0300
committerJaime van Kessel <nallath@gmail.com>2017-10-02 16:12:56 +0300
commit889753f9581eb3c8a65d1bcfcc2dd69b03b2e5b4 (patch)
treea9854e00dcc4935183387f8ffdab870c2e1400fd /tests
parent9cbd71059319a2a7d3df12966b916e7d45c1d8fe (diff)
Fix unit test
CURA-4360
Diffstat (limited to 'tests')
-rwxr-xr-xtests/TestMachineAction.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/TestMachineAction.py b/tests/TestMachineAction.py
index 8a38668aaf..0118874a0b 100755
--- a/tests/TestMachineAction.py
+++ b/tests/TestMachineAction.py
@@ -1,6 +1,8 @@
#Todo: Write tests
import pytest
+# QtApplication needs to be imported first to prevent import errors.
+from UM.Qt.QtApplication import QtApplication
from cura.MachineAction import MachineAction
from cura.MachineActionManager import MachineActionManager, NotUniqueMachineActionError, UnknownMachineActionError