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.