Django - Testing Django Applications
Identify the error in this Django model test code:
class UserProfile(models.Model):
age = models.IntegerField()
class UserProfileTest(TestCase):
def test_age_positive(self):
profile = UserProfile(age=-5)
self.assertTrue(profile.age > 0)