Bug 979338 - Document delete_session method in the python client API, r=mdas
authorJames Graham <james@hoppipolla.co.uk>
Tue, 04 Mar 2014 17:42:11 +0000
changeset 191004 c14f13b558aa5e87dd06599b66f69c0bfde6fb2d
parent 191003 334db4ff0617eb8cdb682d7b807aacd423f565f7
child 191005 dcb2be82879840c617605ede36818f426d02dded
push id474
push userasasaki@mozilla.com
push dateMon, 02 Jun 2014 21:01:02 +0000
treeherdermozilla-release@967f4cf1b31c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmdas
bugs979338
milestone30.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 979338 - Document delete_session method in the python client API, r=mdas
testing/marionette/client/marionette/marionette.py
--- a/testing/marionette/client/marionette/marionette.py
+++ b/testing/marionette/client/marionette/marionette.py
@@ -727,16 +727,19 @@ class Marionette(object):
         return self._test_name
 
     @test_name.setter
     def test_name(self, test_name):
         if self._send_message('setTestName', 'ok', value=test_name):
             self._test_name = test_name
 
     def delete_session(self):
+        """
+        Close the current session and disconnect from the server.
+        """
         response = self._send_message('deleteSession', 'ok')
         self.session = None
         self.window = None
         self.client.close()
         return response
 
     @property
     def session_capabilities(self):