This commit is contained in:
@@ -39,7 +39,7 @@ class TestFunctionCheckEnv(unittest.TestCase):
|
||||
variable that is not set."""
|
||||
var_list = {self.not_set_env_var}
|
||||
msg = f'environment variable not set: {self.not_set_env_var}'
|
||||
with self.assertRaises(AssertionError, msg=msg):
|
||||
with self.assertRaises(OSError, msg=msg):
|
||||
check_env(var_list)
|
||||
|
||||
def test_env_vars_set(self):
|
||||
|
||||
Reference in New Issue
Block a user