From 889753f9581eb3c8a65d1bcfcc2dd69b03b2e5b4 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Mon, 2 Oct 2017 15:12:56 +0200 Subject: [PATCH] Fix unit test CURA-4360 --- tests/TestMachineAction.py | 2 ++ 1 file changed, 2 insertions(+) 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