File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525from dicomtrolley .qido_rs import QidoRS
2626from dicomtrolley .rad69 import Rad69
2727from dicomtrolley .trolley import Trolley
28- from dicomtrolley .wado_rs import WadoRS
28+ from dicomtrolley .wado_rs import WadoRS , WadoRSMetaData
2929from dicomtrolley .wado_uri import WadoURI
3030from tests .conftest import set_mock_response
3131from tests .factories import quick_dataset
@@ -73,6 +73,7 @@ def setup_namespace(namespace: Dict[str, Any]):
7373 "Mint" : Mint ,
7474 "WadoURI" : WadoURI ,
7575 "WadoRS" : WadoRS ,
76+ "WadoRSMetadata" : WadoRSMetaData ,
7677 "Rad69" : Rad69 ,
7778 "QidoRS" : QidoRS ,
7879 "Query" : Query ,
Original file line number Diff line number Diff line change @@ -62,3 +62,13 @@ To edit the docs:
6262* Try out your changes using ` uv run mkdocs serve `
6363
6464* To add docs requirements: ` uv add --group dev <package to add> ` . To remove ` uv remove --group dev <package to add> `
65+
66+ ### testing doc examples
67+ * run pytest in the /docs folder: ` cd /docs ` -> ` uv run pytest `
68+
69+ If your docstests have import errors, look at /docs/conftest.py -> ` setup_namespaces() ` .
70+ This function describes import statements done before any doc example script. Imports
71+ are done in script because it is distracting to have multiple import statements above
72+ a single line of example code
73+
74+
You can’t perform that action at this time.
0 commit comments