def test_get_options(): assert isinstance(get_options("a.html", "b.pdf"), list)
def test_get_options_invalid_value(): get_options("a.html", "b.pdf", low_quality="invalid")
def test_get_options_args(): options = get_options("a.html", "b.pdf", javascript_wait=100) assert len(options) == 1 + 2 + 4 + 2 assert argument_options["javascript_wait"] in options
def test_get_options_invalid_option(): get_options("a.html", "b.pdf", invalid_option="invalid")
def test_get_options(): assert isinstance(get_options('a.html', 'b.pdf'), list)
def test_get_options_args(): options = get_options('a.html', 'b.pdf', javascript_wait=100) assert len(options) == 1 + 2 + 4 + 2 assert argument_options['javascript_wait'] in options
def test_get_options_invalid_value(): get_options('a.html', 'b.pdf', low_quality='invalid')
def test_get_options_invalid_option(): get_options('a.html', 'b.pdf', invalid_option='invalid')