~elopio/ubuntuone-testing/testability-sso

« back to all changes in this revision

Viewing changes to ubuntuone/web/tests/sst/files/u1webf006_createfolder.py

  • Committer: Tarmac
  • Author(s): Leo Arias
  • Date: 2012-02-02 16:00:59 UTC
  • mfrom: (74.1.7 update-h)
  • Revision ID: tarmac-20120202160059-wangl415ww13j7ch
StabilizeĀ filesĀ tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
from sst.actions import *
26
26
import actions.setup as setup_actions
27
27
import actions.files as files_actions
28
 
from random import random
 
28
import uuid
29
29
 
30
30
setup_actions.setup()
31
31
files_actions.open()
32
 
folder_name = 'New Folder %f' % random()
 
32
folder_uuid = str(uuid.uuid1())
 
33
folder_name = 'New folder %s' % folder_uuid
33
34
files_actions.create_new_folder(folder_name)
34
35
files_actions.assert_file_exists(folder_name)
35
36
assert files_actions.get_file_size(folder_name) == ' '