import locally for py3 mock compatability

This commit is contained in:
tedder committed 2018-09-22 17:21:33 -07:00
1 parent 791e759b40
commit df706f61db
1 file changed
+1
+1
View File
@@ -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