'pk and attribute name are available on the model
No default id attribute is added'

def test_pk_attributes(self):

    e = Employee.objects.get(pk=123)
    self.assertEqual(e.pk, 123)
    self.assertEqual(e.employee_code, 123)
    with self.assertRaisesMessage(AttributeError, "'Employee'    object    has    no    attribute    'id'"):
        e.id
