Add alternative import test
@@ -22,10 +22,12 @@ requirements:
- python >=3.6
test:
- imports:
- - rest_flex_fields
+ #imports:
+ # - rest_flex_fields
commands:
- pip check
+ # We cannot import-test here as it requires a fully-specified django configuration.
+ - test -f $SP_DIR/rest_flex_fields/__init__.py
requires:
- pip
