diff options
Diffstat (limited to 'archaeological_finds/tests.py')
| -rw-r--r-- | archaeological_finds/tests.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/archaeological_finds/tests.py b/archaeological_finds/tests.py index 80202f442..9387840a0 100644 --- a/archaeological_finds/tests.py +++ b/archaeological_finds/tests.py @@ -1930,7 +1930,7 @@ class TreatmentTest(FindInit, TestCase):          self.create_finds(data_base={"label": u"Find 1"}, force=True)          self.create_finds(data_base={"label": u"Find 2"}, force=True)          image = Document.objects.create(title="Image!") -        image.image.save('ishtar-bg.jpg', File(open(img))) +        image.image.save('ishtar-bg.jpg', File(open(img, "rb")))          self.finds[0].documents.add(image)          self.finds[0].save() | 
