Skip to content

Commit e7d4190

Browse files
committed
tests: fix
1 parent 393270f commit e7d4190

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/test_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,8 @@ def test_client_impersonate_chrome131():
264264
impersonate="chrome_131",
265265
impersonate_os="windows",
266266
)
267-
# response = client.get("https://tls.peet.ws/api/all")
268-
response = client.get("https://tls.http.rw/api/all")
267+
response = client.get("https://tls.peet.ws/api/all")
268+
#response = client.get("https://tls.http.rw/api/all")
269269
assert response.status_code == 200
270270
json_data = response.json()
271271
assert (
@@ -275,6 +275,6 @@ def test_client_impersonate_chrome131():
275275
assert json_data["tls"]["ja4"] == "t13d1516h2_8daaf6152771_b1ff8ab2d16f"
276276
assert (
277277
json_data["http2"]["akamai_fingerprint_hash"]
278-
== "90224459f8bf70b7d0a8797eb916dbc9"
278+
== "52d84b11737d980aef856699f885ca86"
279279
)
280280
assert json_data["tls"]["peetprint_hash"] == "7466733991096b3f4e6c0e79b0083559"

tests/test_defs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,8 @@ def test_put():
307307
@retry()
308308
def test_get_impersonate_firefox133():
309309
response = primp.get(
310-
# "https://tls.peet.ws/api/clean",
311-
"https://tls.http.rw/api/all",
310+
"https://tls.peet.ws/api/all",
311+
#"https://tls.http.rw/api/all",
312312
impersonate="firefox_133",
313313
impersonate_os="linux",
314314
)
@@ -321,6 +321,6 @@ def test_get_impersonate_firefox133():
321321
assert json_data["tls"]["ja4"] == "t13d1716h2_5b57614c22b0_bed828528d07"
322322
assert (
323323
json_data["http2"]["akamai_fingerprint_hash"]
324-
== "87a68d774464f75f8b88395030c79a80"
324+
== "6ea73faa8fc5aac76bded7bd238f6433"
325325
)
326326
assert json_data["tls"]["peetprint_hash"] == "199f9cf4a47bfc51995a9f3942190094"

0 commit comments

Comments
 (0)