From f9d6cf145b1506c6d311db2e2222ec49138d96a4 Mon Sep 17 00:00:00 2001 From: citronneur Date: Tue, 9 Sep 2014 21:24:30 +0200 Subject: [PATCH] Add tests --- README.md | 4 ---- rdpy/protocol/rdp/x224.py | 2 +- tests/x224.py | 11 +++++++++++ 3 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 tests/x224.py diff --git a/README.md b/README.md index 15afb93..16f42b9 100644 --- a/README.md +++ b/README.md @@ -72,10 +72,6 @@ The private key file and the certificate file are classic cryptographic files fo The IP and port admin are used in order to spy active sessions thanks to a RDP client (rdpy-rdpclient, remina, mstsc). Common values are 127.0.0.1:3389 to protect from connections by unauthorized user. -### rdpy-admin - -rdpy-admin is UI manager of rdpy-rdpproxy. You can manage credentials and watch live sessions simultaneous. - ## RDPY Qt Widget RDPY can also be used as Qt widget throw rdpy.ui.qt4.QRemoteDesktop class. It can be embedded in your own Qt application. qt4reactor must be used in your app for Twisted and Qt to work together. For more details, see sources of rdpy-rdpclient. diff --git a/rdpy/protocol/rdp/x224.py b/rdpy/protocol/rdp/x224.py index 4d55630..aeed055 100644 --- a/rdpy/protocol/rdp/x224.py +++ b/rdpy/protocol/rdp/x224.py @@ -162,7 +162,7 @@ class Client(X224Layer): def __init__(self, presentation): """ @param presentation: upper layer, MCS layer in RDP case - """ + """testName X224Layer.__init__(self, presentation) def connect(self): diff --git a/tests/x224.py b/tests/x224.py new file mode 100644 index 0000000..004bed4 --- /dev/null +++ b/tests/x224.py @@ -0,0 +1,11 @@ +''' +@author: sylvain +''' +import unittest + +class X224Case(unittest.TestCase): + ''' + test case for x224 layer (RDP) + ''' + def test_x224_client(self): + pass