Renamed new test to reflect the new variable name

This commit is contained in:
Will Badart
2020-04-27 09:44:01 -07:00
parent 8657838696
commit 0e349d1fdc

View File

@@ -286,7 +286,7 @@ class CommandLineTestCase(unittest.TestCase):
cli.run((os.path.join(self.wd, 'a.yaml'), )) cli.run((os.path.join(self.wd, 'a.yaml'), ))
self.assertEqual(ctx.returncode, 1) self.assertEqual(ctx.returncode, 1)
def test_run_with_user_yamllintrc_config_file(self): def test_run_with_user_yamllint_config_file_in_env(self):
self.addCleanup(os.environ.__delitem__, 'YAMLLINT_CONFIG_FILE') self.addCleanup(os.environ.__delitem__, 'YAMLLINT_CONFIG_FILE')
with tempfile.NamedTemporaryFile('w') as f: with tempfile.NamedTemporaryFile('w') as f: