def test_setting_does_not_match(self): self.assertFalse(environment_is('foo')) self.assertTrue(environment_is_not('foo'))
def test_setting_not_defined(self): del settings.DEPLOY_ENVIRONMENT self.assertFalse(environment_is('foo')) self.assertTrue(environment_is_not('foo'))