Und in diesem Unit-Test-Paket führe ich ganz oben einen Import durch
Code: Select all
from app import (are_check_raise_conditions_met, go_to_the_right_street, run_this_on_pre_flop_app_dot_py,
fill_my_hand_rating_on_flop_turn_river, run_new_hand, analyse_current_street,
calculate_no_players_to_act, am_i_in_position_to_bettor_calculator, my_SPR_calculator)
Code: Select all
ImportError while importing test module '/Users/patrickchong/Desktop/poker_bot_final/test_suite/test_app.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../miniconda3/envs/plo/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
test_suite/test_app.py:3: in
from app import (are_check_raise_conditions_met, go_to_the_right_street, run_this_on_pre_flop_app_dot_py,
E ModuleNotFoundError: No module named 'app'
Das Stammverzeichnis meines Projekts ist poker_bot_final