def METHOD_NAME(self):
    ret = self.condorjob
    # Before Update
    self.assertFalse(ret.attributes)
    # Execute
    ret.update_database_fields()
    # Check after update
    self.assertEqual("test_condorbase", ret.attributes["job_name"])