source: orange/Orange/testing/regression/tests_20/modules_server_files1.py @ 9952:986e9cd806f4

Revision 9952:986e9cd806f4, 389 bytes checked in by Miha Stajdohar <miha.stajdohar@…>, 2 years ago (diff)

Tests moved and renamed from orange 20.

Line 
1import orngServerFiles
2
3# remove a file from a local repository and download it from the server
4filename = "urllib2_file.py"
5print orngServerFiles.listfiles("demo")
6orngServerFiles.remove("demo", filename)
7orngServerFiles.download("demo", filename, verbose=False)
8
9info = orngServerFiles.info("demo", filename)
10print "%s: size=%s, datetime=%s" % (filename, info["size"], info["datetime"])
Note: See TracBrowser for help on using the repository browser.