mirror of
https://github.com/nvbn/thefuck.git
synced 2025-09-27 23:52:41 +01:00
#N/A: Reset environment variables in tests
This commit is contained in:
@@ -50,8 +50,8 @@ def test_match(command):
|
||||
assert match(command)
|
||||
|
||||
|
||||
@pytest.mark.parametrize('command, new_command', [
|
||||
@pytest.mark.parametrize('command, url', [
|
||||
(Command('yarn help clean', stdout=stdout_clean),
|
||||
open_command('https://yarnpkg.com/en/docs/cli/clean'))])
|
||||
def test_get_new_command(command, new_command):
|
||||
assert get_new_command(command) == new_command
|
||||
'https://yarnpkg.com/en/docs/cli/clean')])
|
||||
def test_get_new_command(command, url):
|
||||
assert get_new_command(command) == open_command(url)
|
||||
|
Reference in New Issue
Block a user