Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksim Sadym committed Jan 22, 2024
1 parent 2bc113a commit ef6ee66
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
4 changes: 0 additions & 4 deletions webdriver/tests/bidi/storage/get_cookies/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ async def test_filter(bidi_session, new_tab, test_page, origin, domain_value, fi
recursive_compare(
{
"domain": domain_value(),
"expiry": None,
"httpOnly": False,
"name": cookie_name_1,
"path": "/webdriver/tests/support",
Expand Down Expand Up @@ -150,7 +149,6 @@ async def test_filter_same_site(
recursive_compare(
{
"domain": domain_value(),
"expiry": None,
"httpOnly": False,
"name": cookie_name_1,
"path": "/webdriver/tests/support",
Expand Down Expand Up @@ -203,7 +201,6 @@ async def test_filter_secure(
recursive_compare(
{
"domain": domain_value(),
"expiry": None,
"httpOnly": False,
"name": cookie_name_1,
"path": "/webdriver/tests/support",
Expand Down Expand Up @@ -249,7 +246,6 @@ async def test_filter_path(bidi_session, new_tab, test_page, origin, domain_valu
recursive_compare(
{
"domain": domain_value(),
"expiry": None,
"httpOnly": False,
"name": cookie_name_1,
"path": cookie_path_1,
Expand Down
7 changes: 0 additions & 7 deletions webdriver/tests/bidi/storage/get_cookies/invalid.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@ async def test_params_partition_source_origin_invalid_type(bidi_session, value):
)


async def test_params_partition_source_origin_invalid_value(bidi_session):
with pytest.raises(error.InvalidArgumentException):
await bidi_session.storage.get_cookies(
partition=StorageKeyPartitionDescriptor(source_origin="foo")
)


@pytest.mark.parametrize("value", [False, 42, {}, []])
async def test_params_partition_user_context_invalid_type(bidi_session, value):
with pytest.raises(error.InvalidArgumentException):
Expand Down

0 comments on commit ef6ee66

Please sign in to comment.