on xenial help sign in
remove unused code.
7fb8cd2Thomi Richards
tests/autopilot/unity8/shell/tests/__init__.py−12
@@ -78,17 +78,6 @@ class Unity8TestCase(AutopilotTestCase):
78 # self.patch_environment("LD_LIBRARY_PATH", ":".join(ld_lib_path_patches))
78 # self.patch_environment("LD_LIBRARY_PATH", ":".join(ld_lib_path_patches))
79 self.patch_environment("QML2_IMPORT_PATH", os.path.join(lib_path, "qml/mocks"))
79 self.patch_environment("QML2_IMPORT_PATH", os.path.join(lib_path, "qml/mocks"))
80
80
81−
82− def _get_shell_binary_path(self):
83− """Return a path to the unity8 binary, either the locally built binary
84− or the version installed on the system.
85−
86− The locally built binary will be preferred.
87−
88− """
89−
90−
91−
92 def _set_proxy(self, proxy):
81 def _set_proxy(self, proxy):
93 """Keep a copy of the proxy object, so we can use it to get common parts
82 """Keep a copy of the proxy object, so we can use it to get common parts
94 of the shell later on.
83 of the shell later on.
@@ -110,7 +99,6 @@ class Unity8TestCase(AutopilotTestCase):
110 return MainWindow(self._proxy)
99 return MainWindow(self._proxy)
111
100
112
101
113−
114class ShellTestCase(AutopilotTestCase):
102class ShellTestCase(AutopilotTestCase):
115
103
116 """A common test case class that provides several useful methods for shell tests."""
104 """A common test case class that provides several useful methods for shell tests."""