예제 #1
0
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'
예제 #2
0
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'
예제 #3
0
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'
예제 #4
0
def test_executable():
    """Test argument construction for webdrivers."""
    arg1 = get_args(driver='chrome', executable='/tmp')
    assert arg1['executable_path'] == '/tmp'
예제 #5
0
def test_executable():
    """Test argument construction for webdrivers."""
    arg1 = get_args(driver="chrome", executable="/tmp")
    assert arg1["executable_path"] == "/tmp"