Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run test_outline_vpn.py #25

Open
Jespway opened this issue Oct 12, 2023 · 1 comment
Open

Cannot run test_outline_vpn.py #25

Jespway opened this issue Oct 12, 2023 · 1 comment

Comments

@Jespway
Copy link

Jespway commented Oct 12, 2023

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
Copy link
Owner

jadolg commented Oct 12, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants