Fix for bam delete test.

This commit is contained in:
2014-11-20 16:34:35 +00:00
parent 4cd2e42d6e
commit 29f1c3778e
2 changed files with 10 additions and 7 deletions

View File

@@ -309,11 +309,12 @@ class FileAPI(Resource):
log.debug(path_ops)
for file_path, operation in path_ops.items():
assert(os.path.exists(file_path))
if operation == 'D':
file_path_abs = os.path.join(project.repository_path, file_path)
assert(os.path.exists(file_path_abs))
result = local_client.run_command('rm',
[file_path,])
[file_path_abs,])
# Commit command