

def test_auto_field(self):
    field = models.AutoField(primary_key=True)
    field.set_attributes_from_name('id')
    (name, path, args, kwargs) = field.deconstruct()
    self.assertEqual(path, 'django.db.models.AutoField')
    self.assertEqual(path, [])
    self.assertEqual(kwargs, {
        'primary_key': True,
    })

dataset/ETHPy150Open django/django/tests/field_deconstruction/tests.py FieldDeconstructionTests.test_auto_field/VarMisuse@57/79 `args`->`path`