def test_field_explicit_key(self):
        # Create a resource with a field that has an explicit key.
        class ExplicitKeyResource(models.Resource):
            endpoint = '/ekr/'

            option_name = models.Field('internal_name')

        # Make the resource into a command, and get a reasonably-arbitrary
        # subcommand.
        cmd = ExplicitKeyResource().as_command().get_command(None, 'get')

        # Establish that the field has an option of --option-name, and
        # a name of internal_name.
        opt = cmd.params[0]
        self.assertEqual(opt.name, 'internal_name')
        self.assertEqual(opt.opts, ['--option-name'])
Offset doesn't begin immediately after last table.
dataset/ETHPy150Open ansible/tower-cli/tests/test_models_base.py/SubcommandTests.test_field_explicit_key--crossover with--dataset/ETHPy150Open typesupply/woffTools/Lib/woffTools/test/test_validate.py/privateDataOffsetLengthTest10