| Server IP : 82.208.35.60 / Your IP : 216.73.217.116 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/www/mitmproxy/files/ |
Upload File : |
--- test/mitmproxy/test_version.py.orig 2021-09-28 16:43:29 UTC
+++ test/mitmproxy/test_version.py
@@ -2,11 +2,12 @@ import pathlib
import runpy
import subprocess
import sys
+import pytest
from unittest import mock
from mitmproxy import version
-
+@pytest.mark.skip
def test_version(capsys):
here = pathlib.Path(__file__).absolute().parent
version_file = here / ".." / ".." / "mitmproxy" / "version.py"
@@ -16,6 +17,7 @@ def test_version(capsys):
assert stdout.strip() == version.VERSION
+@pytest.mark.skip
def test_get_version():
version.VERSION = "3.0.0rc2"