Skip to content
Snippets Groups Projects
Commit 733d8729 authored by Martyn Gigg's avatar Martyn Gigg
Browse files

Fix spelling mistake Jupyer->Jupyter

Refs #21251
parent f419d666
No related merge requests found
......@@ -143,8 +143,8 @@ class MainWindow(QMainWindow):
self.messagedisplay.register_plugin()
self.set_splash("Loading IPython console")
from workbench.plugins.jupyterconsole import JupyerConsole
self.ipythonconsole = JupyerConsole(self)
from workbench.plugins.jupyterconsole import JupyterConsole
self.ipythonconsole = JupyterConsole(self)
self.ipythonconsole.register_plugin()
self.setup_layout()
......
......@@ -26,11 +26,11 @@ from qtpy.QtWidgets import QVBoxLayout
from workbench.plugins.base import PluginWidget
class JupyerConsole(PluginWidget):
class JupyterConsole(PluginWidget):
"""Provides an in-process Jupyter Qt-based console"""
def __init__(self, parent):
super(JupyerConsole, self).__init__(parent)
super(JupyterConsole, self).__init__(parent)
# layout
self.console = InProcessJupyterConsole(self)
......
......@@ -24,15 +24,15 @@ from mantidqt.utils.qt.testing import requires_qapp
from qtpy.QtWidgets import QMainWindow
# local package imports
from workbench.plugins.jupyterconsole import InProcessJupyterConsole, JupyerConsole
from workbench.plugins.jupyterconsole import InProcessJupyterConsole, JupyterConsole
@requires_qapp
class InProcessJupyterConsoleTest(unittest.TestCase):
class JupyterConsoleTest(unittest.TestCase):
def test_construction_creates_inprocess_console_widget(self):
main_window = QMainWindow()
widget = JupyerConsole(main_window)
widget = JupyterConsole(main_window)
self.assertTrue(hasattr(widget, "console"))
self.assertTrue(isinstance(widget.console, InProcessJupyterConsole))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment