'Test comparing against other types'

def test_file_cmp(self):

    class TestFile(Document, ):
        the_file = FileField()
    test_file = TestFile()
    self.assertFalse((test_file.the_file in [{'test': 1}]))
