question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fixture "loop" not found at v 1.5.0

See original GitHub issue
@pytest.fixture
def test_cli(loop, test_app, sanic_client):
    return loop.run_until_complete(sanic_client(test_app))

Raises fixture 'loop' not found

in 1.1.2: pytest --fixtures lists all pytest-sanic’s builtin fixtures in fixtures defined from pytest_sanic.plugin in 1.5.0: pytest --fixtures lists nothing from pytest-sanic

Reinstallation did not help.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
yunstanfordcommented, Feb 19, 2020

just released 1.6.0

0reactions
yunstanfordcommented, Feb 19, 2020

Sorry guys, i just was trying to switch build system to poetry, and missed adding entry_point. I’ll do another release soon

Read more comments on GitHub >

github_iconTop Results From Across the Web

fixture 'loop' not found - Stack Overflow
running this command pytest -v --collect-only | grep plugins showed that the plugin wasn't installed properly.
Read more >
fixture 'loop' not found · Issue #24 · yunstanford/pytest-sanic
post('/v1/images/upload',data=json.dumps(data)) assert response.status == 200 I am getting fixture loop not found error in the above code.
Read more >
pytest-sanic - PyPI
pytest-sanic creates an event loop and injects it as a fixture. pytest will use this event loop to run your async tests. By...
Read more >
pytest-qt 1.3.0 documentation - Read the Docs
pytest-qt is a pytest plugin that provides fixtures to help programmers write tests for PySide and PyQt. The main usage is to use...
Read more >
Simplify Your Tests with Fixtures - YouTube
Fixtures can make your tests simpler and easier to maintain by using or creating common abstractions to be shared amongst your tests.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found