mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
tests: properly skip pathod tests
This commit is contained in:
parent
f4c3c01266
commit
a7b9e3033d
@ -211,7 +211,7 @@ class TestDaemon(_TestDaemon):
|
||||
c.stop()
|
||||
|
||||
@skip_windows
|
||||
@pytest.mark.xfail
|
||||
@pytest.mark.skip(reason="race condition")
|
||||
def test_wait_finish(self):
|
||||
c = pathoc.Pathoc(
|
||||
("127.0.0.1", self.d.port),
|
||||
|
@ -129,7 +129,7 @@ class CommonTests(tutils.DaemonTests):
|
||||
l = self.d.last_log()
|
||||
# FIXME: Other binary data elements
|
||||
|
||||
@pytest.mark.skip
|
||||
@pytest.mark.skip(reason="race condition")
|
||||
def test_sizelimit(self):
|
||||
r = self.get("200:b@1g")
|
||||
assert r.status_code == 800
|
||||
@ -143,7 +143,7 @@ class CommonTests(tutils.DaemonTests):
|
||||
def test_info(self):
|
||||
assert tuple(self.d.info()["version"]) == version.IVERSION
|
||||
|
||||
@pytest.mark.skip
|
||||
@pytest.mark.skip(reason="race condition")
|
||||
def test_logs(self):
|
||||
assert self.d.clear_log()
|
||||
assert not self.d.last_log()
|
||||
@ -223,7 +223,7 @@ class CommonTests(tutils.DaemonTests):
|
||||
)
|
||||
assert r[1].payload == "test"
|
||||
|
||||
@pytest.mark.skip
|
||||
@pytest.mark.skip(reason="race condition")
|
||||
def test_websocket_frame_reflect_error(self):
|
||||
r, _ = self.pathoc(
|
||||
["ws:/p/", "wf:-mask:knone:f'wf:b@10':i13,'a'"],
|
||||
|
Loading…
Reference in New Issue
Block a user