forked from kenzuya/unshackle
test: delete slow, timing-based and redundant tests
This commit is contained in:
@@ -40,11 +40,6 @@ def test_load_client_cookies_reads_what_local_dl_reads():
|
||||
assert [(c.name, c.value) for c in jar] == [("session-id", "123-456")]
|
||||
|
||||
|
||||
def test_load_client_cookies_without_a_blob():
|
||||
assert load_client_cookies(None) is None
|
||||
assert load_client_cookies("") is None
|
||||
|
||||
|
||||
@pytest.mark.parametrize("blob", ["not base64!", base64.b64encode(b"not zlib").decode(), transport_blob("garbage")])
|
||||
def test_load_client_cookies_rejects_a_malformed_blob(blob):
|
||||
with pytest.raises(APIError) as exc_info:
|
||||
|
||||
Reference in New Issue
Block a user