Exemplo n.º 1
0
 def test_setting_does_not_match(self):
     self.assertFalse(environment_is('foo'))
     self.assertTrue(environment_is_not('foo'))
Exemplo n.º 2
0
 def test_setting_not_defined(self):
     del settings.DEPLOY_ENVIRONMENT
     self.assertFalse(environment_is('foo'))
     self.assertTrue(environment_is_not('foo'))
Exemplo n.º 3
0
 def test_setting_not_defined(self):
     del settings.DEPLOY_ENVIRONMENT
     self.assertFalse(environment_is('foo'))
     self.assertTrue(environment_is_not('foo'))
Exemplo n.º 4
0
 def test_setting_does_not_match(self):
     self.assertFalse(environment_is('foo'))
     self.assertTrue(environment_is_not('foo'))