import locally for py3 mock compatability
This commit is contained in:
1 file changed
+1
@@ -28,6 +28,7 @@ class TestSlicingManager(unittest.TestCase):
|
||||
self._mock_slicer_plugins(self.slicer_plugin)
|
||||
|
||||
# mock profile manager
|
||||
import octoprint.printer.profile
|
||||
self.printer_profile_manager = mock.MagicMock(spec=octoprint.printer.profile.PrinterProfileManager)
|
||||
|
||||
# mock settings
|
||||
|
||||
Reference in new issue
Block a user