man-group / man-group/pytest-plugins

simple_http_server is nowhere to be found

Open
#213 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
597
Forks
89
PR merge metrics
No merged PRs in 30d

Description

https://github.com/man-group/pytest-plugins/tree/master/pytest-server-fixtures#simple-http-server

It does not show in pytest --fixtures and tests using this fixture get error

E       fixture 'simple_http_server' not found

There is one called simple_http_test_server in the source: https://github.com/man-group/pytest-plugins/blob/v1.7.0/pytest-server-fixtures/pytest_server_fixtures/http.py#L22-L28

However it is not found either, presumably because nothing in the entry points refers to that http.py submodule.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with pytest-server-fixtures/setup.py and its entry-point definitions, then inspect pytest-server-fixtures/pytest_server_fixtures/http.py around the simple_http_test_server fixture. Confirm the plugin exposes the intended fixture and verify completion with pytest --fixtures and a test that uses the fixture.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.