I wrote a consumer test in Python, but when i run ...
# pact-python
j
I wrote a consumer test in Python, but when i run it in pytest nothing happens? Do i need to have the broker running locally? Actually Im gettting this error trying to get it to run:
Copy code
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
consumer.py:9: in <module>
    from web.api.api import cancel_order
E   ModuleNotFoundError: No module named 'web'
Im not too familiar with python