tor-browser

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

test_1717806_stickyadstv.py (536B)


      1 import pytest
      2 
      3 from .common import verify_redirectors
      4 
      5 URLS = {
      6    "https://ads.stickyadstv.com/auto-user-sync?1": "image",
      7    "https://ads.stickyadstv.com/user-matching?1": "image",
      8 }
      9 
     10 
     11 @pytest.mark.asyncio
     12 @pytest.mark.with_strict_etp
     13 @pytest.mark.with_shims
     14 async def test_works_with_shims(client):
     15    await verify_redirectors(client, URLS, "REDIRECTED")
     16 
     17 
     18 @pytest.mark.asyncio
     19 @pytest.mark.with_strict_etp
     20 @pytest.mark.without_shims
     21 async def test_works_without_etp(client):
     22    await verify_redirectors(client, URLS, "BLOCKED")