jadolg/outline-vpn-api

Cannot run test_outline_vpn.py

Opened this issue · 1 comments

test setup failed
@pytest.fixture
def client() -> OutlineVPN:
"""This generates a client from the credentials provided in the environment"""

  install_log = open("outline-install.log", "r").read()

E FileNotFoundError: [Errno 2] No such file or directory: 'outline-install.log'

test_outline_vpn.py:16: FileNotFoundError

jadolg commented

In order to run the tests you need a running outline server.
I usually create a new one every time I run the tests like this:

bash -c "$(wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh)" > ./outline-install.log