'FieldField.open() returns self so it can be used as a context manager.'

def test_open_returns_self(self):

    d = Document.objects.create(myfile='something.txt')
    d.myfile.file = ContentFile('', name='bla')
    self.assertEqual(d.myfile, d.myfile.open())
