def test_executable(): """Test argument construction for webdrivers.""" arg1 = get_args(driver='phantomjs', executable='/tmp') arg2 = get_args(driver='chrome', executable='/tmp') assert arg1['executable_path'] == '/tmp' assert arg2['executable_path'] == '/tmp'
def test_executable(): """ improve testing coverage """ arg1 = get_args('phantomjs', '', '', '', '', '', '/tmp', '') arg2 = get_args('chrome', '', '', '', '', '', '/tmp', '') assert arg1['executable_path'] == '/tmp' assert arg2['executable_path'] == '/tmp'
def test_executable(): """ improve testing coverage """ arg1 = get_args('phantomjs', '', '', '', '', '', '/tmp', '') arg2 = get_args('chrome', '', '', '', '', '', '/tmp', '') assert arg1['executable_path'] == '/tmp' assert arg2['executable_path'] == '/tmp'
def test_executable(): """Test argument construction for webdrivers.""" arg1 = get_args(driver='chrome', executable='/tmp') assert arg1['executable_path'] == '/tmp'
def test_executable(): """Test argument construction for webdrivers.""" arg1 = get_args(driver="chrome", executable="/tmp") assert arg1["executable_path"] == "/tmp"