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

Add test for server #135

Merged
merged 1 commit into from
Oct 8, 2024
Merged

Add test for server #135

merged 1 commit into from
Oct 8, 2024

Conversation

b0661
Copy link
Contributor

@b0661 b0661 commented Oct 8, 2024

A test fixture to start the server and a first test case is added.

The fixture tries to assure that the server is installed and running. If it is not installed the fixture uses pip to install it.
The server and the installation by pip is run bei the same Python executable that also runs pytest.
Also the github workflow for pytest was adapted to allow to test the server.

This pull request needs PR #125 to pass the tests. Fails currently - which is the proper result..

A test fixture to start the server and a first test case is added.

The fixture tries to assure that the server is installed and running.
If it is not installed the fixture uses pip to install it.

The server and the installation by pip is run bei the same Python
executable that also runs pytest.

The github workflow for pytest is adapted to install akkudoktor-eos.

Signed-off-by: Bobby Noelte <[email protected]>
@drbacke drbacke merged commit 4284119 into Akkudoktor-EOS:main Oct 8, 2024
1 of 2 checks passed
@b0661 b0661 deleted the pr_test_server branch October 10, 2024 14:06
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

Successfully merging this pull request may close these issues.

2 participants