diff --git a/src/bcf/Makefile b/src/bcf/Makefile index daf7696155..ef03ba0d43 100644 --- a/src/bcf/Makefile +++ b/src/bcf/Makefile @@ -33,6 +33,10 @@ models: cd src && xsdata generate -p bcf.v2.model --unnest-classes --kw-only --slots -ds Google bcf/v2/xsd cd src && xsdata generate -p bcf.v3.model --unnest-classes --kw-only --slots -ds Google bcf/v3/xsd +.PHONY: test +test: + pytest -p no:pytest-blender tests + # .PHONY # api: # openapi-python-client generate --url https://api.swaggerhub.com/apis/buildingSMART/BCF/3.0 diff --git a/src/bsdd/Makefile b/src/bsdd/Makefile index 8eaf0bbf83..c4cce9bbe1 100644 --- a/src/bsdd/Makefile +++ b/src/bsdd/Makefile @@ -22,4 +22,6 @@ include ../common.mk .PHONY: test test: - pytest -p no:pytest-blender test +# Using python -m pytest vs just using pytest is important here. +# As just using pytest does not add current directory to PATH. + python -m pytest -p no:pytest-blender tests