'This should force a write to a tmp file.'

def testTmpFiles(self):

    filename = os.path.join(self.base_path, 'places.sqlite')
    file_stream = StringIO.StringIO(open(filename, 'rb').read())
    database_file = sqlite_file.SQLiteFile(file_stream)
    entries = [x for x in database_file.Query(self.query)]
    self.assertEqual(len(entries), 92)
    self.assertEqual(database_file._delete_file, True)
    filename = database_file.name
    self.assertTrue(os.path.exists(filename))
    del database_file
    self.assertFalse(os.path.exists(filename))
