forked from kenzuya/unshackle
test: delete slow, timing-based and redundant tests
This commit is contained in:
@@ -212,17 +212,6 @@ def test_a_session_lost_under_quiet_is_left_to_the_caller(monkeypatch, caplog, r
|
||||
assert not [r for r in caplog.records if r.levelname == "ERROR"]
|
||||
|
||||
|
||||
@responses.activate
|
||||
def test_closing_a_session_the_server_lost_logs_no_error(caplog):
|
||||
service = make_service()
|
||||
responses.add(responses.DELETE, f"{SERVER}/api/session/s1", json=GONE, status=404)
|
||||
|
||||
service.close()
|
||||
|
||||
assert service._session_id is None
|
||||
assert not [r for r in caplog.records if r.levelname in ("WARNING", "ERROR")]
|
||||
|
||||
|
||||
@responses.activate
|
||||
def test_a_certificate_the_server_fails_to_fetch_is_no_certificate():
|
||||
service = make_service()
|
||||
|
||||
Reference in New Issue
Block a user