def test_validation_error_all_set_false(self):

        self.tos1.active = False
        self.assertRaises(ValidationError, self.tos1.save)
If you try and set all to false the model will throw a ValidationError
dataset/ETHPy150Open revsys/django-tos/tos/tests/test_models.py/TestModels.test_validation_error_all_set_false