Django - Testing Django Applications
Identify the error in this test code:
class Car(models.Model):
model = models.CharField(max_length=50)
class CarTest(TestCase):
def test_car_creation(self):
car = Car(model='Tesla')
self.assertEqual(car.model, 'Tesla')