diff --git a/qt/python/mantidqt/widgets/codeeditor/__init__.py b/qt/python/mantidqt/widgets/codeeditor/__init__.py
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/qt/python/mantidqt/widgets/codeeditor.py b/qt/python/mantidqt/widgets/codeeditor/editor.py
similarity index 100%
rename from qt/python/mantidqt/widgets/codeeditor.py
rename to qt/python/mantidqt/widgets/codeeditor/editor.py
diff --git a/qt/python/mantidqt/widgets/codeeditor/test/__init__.py b/qt/python/mantidqt/widgets/codeeditor/test/__init__.py
new file mode 100644
index 0000000000000000000000000000000000000000..27d46236946c6d9652f767dd9bd0797363f958d0
--- /dev/null
+++ b/qt/python/mantidqt/widgets/codeeditor/test/__init__.py
@@ -0,0 +1,16 @@
+#  This file is part of the mantidqt package
+#
+#  Copyright (C) 2017 mantidproject
+#
+#  This program is free software: you can redistribute it and/or modify
+#  it under the terms of the GNU General Public License as published by
+#  the Free Software Foundation, either version 3 of the License, or
+#  (at your option) any later version.
+#
+#  This program is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#   GNU General Public License for more details.
+#
+#  You should have received a copy of the GNU General Public License
+#  along with this program.  If not, see <http://www.gnu.org/licenses/>.
diff --git a/qt/python/mantidqt/widgets/test/test_codeeditor.py b/qt/python/mantidqt/widgets/codeeditor/test/test_codeeditor.py
similarity index 100%
rename from qt/python/mantidqt/widgets/test/test_codeeditor.py
rename to qt/python/mantidqt/widgets/codeeditor/test/test_codeeditor.py
diff --git a/qt/python/mantidqt/widgets/test/test_multifileeditor.py b/qt/python/mantidqt/widgets/codeeditor/test/test_multifileeditor.py
similarity index 100%
rename from qt/python/mantidqt/widgets/test/test_multifileeditor.py
rename to qt/python/mantidqt/widgets/codeeditor/test/test_multifileeditor.py