summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks
diff options
context:
space:
mode:
authorta4879@student.uni-lj.si <ta4879@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2014-12-12 15:34:00 +0000
committerta4879@student.uni-lj.si <ta4879@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2014-12-12 15:34:00 +0000
commitc8ca56aed3e43db2cda2ac085cc967028caadd7b (patch)
tree5babeb3f3a4f5f30e426fb2c934c7966cfaf1d51 /kpov_judge/tasks
parentd3e883955f75f7e85a12af081c0612f56c425856 (diff)
Update of the task() method for a bit more complex string
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@48 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
Diffstat (limited to 'kpov_judge/tasks')
-rw-r--r--kpov_judge/tasks/smb_nfs/task.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/kpov_judge/tasks/smb_nfs/task.py b/kpov_judge/tasks/smb_nfs/task.py
index b434c42..a245c54 100644
--- a/kpov_judge/tasks/smb_nfs/task.py
+++ b/kpov_judge/tasks/smb_nfs/task.py
@@ -80,7 +80,8 @@ def task(SMB_NAME, NFS_MOUNT, SHARED_FILENAME, SHARED_FILENAME_CONTENT):
# mount the NFS mount
# mount the SMB mount
# read the filename content
- results = "test"
+ results = ''.join(random.choice(string.ascii_uppercase) for i in range(12))
+ #results = "test"
return results
def gen_params(user_id, params_meta):