TireSwingSoftware / openassign-server

OpenAssign server intended for use by a separate client via RPC
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

Failing test file_tasks.tests.TestFileDownload #111

Closed jc0n closed 12 years ago

jc0n commented 12 years ago

FAIL: test_upload_replacement_file_as_admin (file_tasks.tests.TestFileDownload)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jcon/Desktop/projects/openassign-server/file_tasks/tests.py", line 94, in test_upload_replacement_file_as_admin
    self.assertEqual(file_download.file_name, 'testfile.txt')
AssertionError: u'testfile_18.txt' != 'testfile.txt'
jc0n commented 12 years ago

Turns out, this one was failing because some test files on my machine never got deleted from /media/file_downloads which is supposed to happen in tearDown.

It probably happened when I made some changes to the file_tasks tests.