pytest fails with oslo.config #5461
-
I am trying to run pytest on my project. My project uses oslo_config for config management. pytest fails running the case when I pass my test directory, which in this case is
However, if I just run
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
thats a design error in oslo.config bubbling trough to pytest, nothing pytest can do here |
Beta Was this translation helpful? Give feedback.
-
@RonnyPfannschmidt Can you please elaborate here ? |
Beta Was this translation helpful? Give feedback.
-
oslo.config assumes that it owns sys.argv, that is entirely false when being run under pytest |
Beta Was this translation helpful? Give feedback.
-
Has this issue been somehow resolved? |
Beta Was this translation helpful? Give feedback.
thats a design error in oslo.config bubbling trough to pytest, nothing pytest can do here