def METHOD_NAME(self, _mock_check):
    """The `time_units` object passed to instantiate an effort field should be a dictionary."""
    field = EffortField(time_units=(("minute", "minute"),))
    errors = field.check()
    self.assertEqual(len(errors), 1)
    error = errors[0]
    self.assertEqual(error.msg, "'time_units' must be a dictionary of tuples.")
    self.assertEqual(error.obj, field)
    self.assertEqual(error.id, "fields.E1011")