diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/testdata/fake_converter.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/testdata/fake_converter.py b/test/testdata/fake_converter.py index f9ef102..9f89d47 100644 --- a/test/testdata/fake_converter.py +++ b/test/testdata/fake_converter.py @@ -11,19 +11,19 @@ if 'error' in filename: if os.path.exists(output): print json.dumps({'finished': True, 'error': '%r existed when we started' % ( - output,)}) + output,)}) sys.exit(1) time.sleep(0.5) RANGE = 5 for i in range(RANGE): print json.dumps({ - 'filename': filename, - 'output': output, - 'duration': RANGE, - 'progress': i, - 'eta': RANGE - i - }) + 'filename': filename, + 'output': output, + 'duration': RANGE, + 'progress': i, + 'eta': RANGE - i + }) time.sleep(0.1) with file(output, 'w') as f: |