diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-07-19 02:23:19 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-07-19 02:23:19 +0200 |
commit | 0aca8ebfb15237e60effce06ccff2085516117f6 (patch) | |
tree | e3f28471f4f682f333d5f1b0725ec6572b9cb1bc /module/remote/thriftbackend/ThriftClient.py | |
parent | Move test stuff to common directory (diff) | |
download | pyload-0aca8ebfb15237e60effce06ccff2085516117f6.tar.xz |
Remove self-tests from all files
Diffstat (limited to 'module/remote/thriftbackend/ThriftClient.py')
-rw-r--r-- | module/remote/thriftbackend/ThriftClient.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/module/remote/thriftbackend/ThriftClient.py b/module/remote/thriftbackend/ThriftClient.py index 4e11fdc0d..913719ed9 100644 --- a/module/remote/thriftbackend/ThriftClient.py +++ b/module/remote/thriftbackend/ThriftClient.py @@ -85,25 +85,3 @@ class ThriftClient: def __getattr__(self, item): return getattr(self.client, item) - -if __name__ == "__main__": - - client = ThriftClient(user="User", password="pwhere") - - print client.getServerVersion() - print client.statusServer() - print client.statusDownloads() - q = client.getQueue() - -# for p in q: -# data = client.getPackageData(p.pid) -# print data -# print "Package Name: ", data.name - - - print client.getServices() - print client.call(Pyload.ServiceCall("UpdateManager", "recheckForUpdates")) - - print client.getConfigValue("download", "limit_speed", "core") - - client.close() |