Revision dd225c7a ncclient/operations/session.py

b/ncclient/operations/session.py
20 20

  
21 21
class CloseSession(RPC):
22 22

  
23
    # TESTED
24

  
25 23
    "*<close-session>* RPC. The connection to NETCONF server is also closed."
26 24

  
27 25
    SPEC = { 'tag': 'close-session' }
......
29 27
    def _delivery_hook(self):
30 28
        self.session.close()
31 29

  
32
    def request(self):
33
        ":seealso: :ref:`return`"
34
        return self._request(CloseSession.SPEC)
35

  
36 30

  
37 31
class KillSession(RPC):
38 32

  

Also available in: Unified diff