def test__environement__env_int__default(self): result = env_int('test__environement__env_int__default') self.assertEqual(result, 0)
def test__environement__env_int(self): os.environ['test__environement__env_int'] = '1' result = env_int('test__environement__env_int') del os.environ['test__environement__env_int'] self.assertEqual(result, 1)