tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

create.py (351B)


      1 # META: timeout=long
      2 from tests.support.asserts import assert_success
      3 
      4 
      5 def test_valid_content_type(new_session, configuration):
      6    headers = {"content-type": "application/json"}
      7    response, _ = new_session(
      8        {"capabilities": {"alwaysMatch": dict(configuration["capabilities"])}},
      9        headers=headers,
     10    )
     11    assert_success(response)