Open Grommash9 opened 10 months ago
ImportError while importing test module 'C:\Users\boris\PycharmProjects\tg_chat_mate\bot\tests\test_unit.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
......\AppData\Local\Programs\Python\Python310\lib\importlib__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests\test_unit.py:4: in
pipenv run pytest tests/test_unit.py -v -s
we can`t remove Magic because all imports will be broke
Add unit tests for check_action_value function to check what would be if we will pass wrong param type, or wrong param, we should be sure it's working as expected
please create new file in
tests/
for it, ensure it starts fromtest_
sopytest
will find it and fetch automatically