Django - Testing Django Applications
Why does this Django model test NOT raise an error?
class Employee(models.Model):
salary = models.PositiveIntegerField()
class EmployeeTest(TestCase):
def test_negative_salary(self):
emp = Employee(salary=-100)
emp.save()