diff --git a/scripts/test/MultiPlotting/MultiPlotWidget_test.py b/scripts/test/MultiPlotting/MultiPlotWidget_test.py
index 70529573fffcd5e5fd8469d332ac7fc41bb0a775..65d8a85f5d52a39792aef3ab9247a11b9ac8f869 100644
--- a/scripts/test/MultiPlotting/MultiPlotWidget_test.py
+++ b/scripts/test/MultiPlotting/MultiPlotWidget_test.py
@@ -70,7 +70,7 @@ class MultiPlotWidgetTest(unittest.TestCase):
     def test_setAllValues(self):
         self.widget._context.subplots = data()
         # mocks as we only want to test logic
-        self.widget.quickEdit.get_selection = mock.MagicMock(return_value = data().keys())
+        self.widget.quickEdit.get_selection = mock.MagicMock(return_value = list(data().keys()))
         self.widget._x_range_changed = mock.MagicMock()
         self.widget._y_range_changed = mock.MagicMock()
         self.widget._check_all_errors = mock.MagicMock(return_value = False)