-
Notifications
You must be signed in to change notification settings - Fork 0
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
Custom docs UI fixes #126
base: dev
Are you sure you want to change the base?
Custom docs UI fixes #126
Conversation
@maxpumperla for the auto tests I'm running into an issue where if I run You can see the error output here https://github.com/SkymindIO/policy-server/pull/126/checks Do you have a go-to way to avoid this? Do you kick off tests differently? Thanks. |
@slinlee no, I've been trying to resolve this last week. Actually I have tests for all examples ready locally that are parametrised unit tests, but only the first will pass. I'm not quite sure how to address this yet. |
@maxpumperla will only the first one pass even when you're running it locally? |
yes, I don't know the reason for it. it might be the way pytest collects tests. But even then, if I |
This isn't a real fix. It just happens to work since test_app.py is the only one that actually tests against the schema. pytest seems to load config.py once, which sets the global params like schema with whatever files are there first.
@maxpumperla |
@slinlee thanks, let me have a closer look at this tomorrow! |
No description provided.