You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get:
ScopeMismatch: You tried to access the 'function' scoped fixture 'LocalCommand' with a 'module' scoped request object, involved factories
whenever I run a test. At the moment I'm trying to run test_container.py from the repo.
Is it just me?
I'm not sure my env variables are correct. But this looks like a different issue.
Ps. I saw your talk at Melbourne's Docker meetup, top stuff!
The text was updated successfully, but these errors were encountered:
I ran into the same issue as you. I'm new to Python, so took a bit to get my head around. Turns out that you can't mix scopes in fixtures, so LocalCommand needed to be factored out globally in the module. I've provided a fix #2
I get:
ScopeMismatch: You tried to access the 'function' scoped fixture 'LocalCommand' with a 'module' scoped request object, involved factories
whenever I run a test. At the moment I'm trying to run test_container.py from the repo.
Is it just me?
I'm not sure my env variables are correct. But this looks like a different issue.
Ps. I saw your talk at Melbourne's Docker meetup, top stuff!
The text was updated successfully, but these errors were encountered: