Revision 4b6c06ed kamaki/clients/tests/pithos.py
b/kamaki/clients/tests/pithos.py | ||
---|---|---|
1165 | 1165 |
|
1166 | 1166 |
def create_large_file(self, size, name): |
1167 | 1167 |
"""Create a large file at fs""" |
1168 |
with open(self.fname, 'w') as f:
|
|
1168 |
with open(name, 'w') as f: |
|
1169 | 1169 |
def append2file(step): |
1170 | 1170 |
f.seek(step) |
1171 | 1171 |
f.write(os.urandom(8)) |
Also available in: Unified diff