Remove the non-load-only-when-testing check

Contributes to CURA-6005.
This commit is contained in:
Diego Prado Gesto 2018-12-18 16:24:13 +01:00
parent 8e78582b61
commit 8206fde223

View File

@ -1,12 +1,6 @@
# Copyright (c) 2018 Ultimaker B.V.
# Cura is released under the terms of the LGPLv3 or higher.
import os
is_testing = os.getenv('ENV_NAME', "development") == "testing"
# Only load the whole plugin when not running tests as __init__.py is automatically loaded by PyTest
if not is_testing:
from .src.DrivePluginExtension import DrivePluginExtension
def getMetaData():