aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTilman Roeder <tilman.roder@qt.io>2018-08-16 13:00:18 +0200
committerTilman Roeder <tilman.roder@qt.io>2018-08-16 14:43:15 +0000
commit7b0c60fa3a072b5820f45ab8ae7da3c45058d42e (patch)
treef42613588bc3916f9dca79d4dba21cf85ad60094
parent13e02b9aaea19ac21251d152a8fa69336ae76ebd (diff)
Fix typo in test case name
This corrects a test case name, which was previously not run due to a typo in the test cases function name. Change-Id: I154ea51bda9c274413822dd516a412656ac31b2f Reviewed-by: Tilman Roeder <tilman.roder@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
-rw-r--r--tests/testextension/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testextension/main.py b/tests/testextension/main.py
index a1773d8..0c3f988 100644
--- a/tests/testextension/main.py
+++ b/tests/testextension/main.py
@@ -101,13 +101,13 @@ class TestModules(unittest.TestCase):
self.assertTrue("Utils" in dir(QtCreator), msg="Utils module missing.")
self.assertTrue("ExtensionSystem" in dir(QtCreator), msg="ExtensionSystem module missing.")
- def text_exists_optional(self):
+ def test_exists_optional(self):
"""
These tests may fail, even if everything is setup correctly, depending on
which QtCreator plugins are enabled.
"""
try:
- from PythonExtension.QtCreator import PluginInstance
+ from PythonExtension import PluginInstance
from PythonExtension.QtCreator import ProjectExplorer
from PythonExtension.QtCreator import TextEditor
except ImportError: