mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-30 14:44:05 +00:00 
			
		
		
		
	Fix tests
This commit is contained in:
		| @@ -53,8 +53,8 @@ def test_get_command(): | ||||
|                   return_value=True): | ||||
|         Popen.return_value.stdout.read.return_value = b'stdout' | ||||
|         Popen.return_value.stderr.read.return_value = b'stderr' | ||||
|         assert main.get_command(Mock(), [b'thefuck', b'apt-get', | ||||
|                                          b'search', b'vim']) \ | ||||
|         assert main.get_command(Mock(), ['thefuck', 'apt-get', | ||||
|                                          'search', 'vim']) \ | ||||
|                == main.Command('apt-get search vim', 'stdout', 'stderr') | ||||
|         Popen.assert_called_once_with('apt-get search vim', | ||||
|                                       shell=True, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user