ModuleNotFoundError Pycharm Windows import own modules

Hello,
when I am running a test file that contains imports from another folder (I use PyCharm on Windows10).
the test file contains:
β€˜β€™β€™
import pandas as pd
from mdb_classes.postgres_class import PostGresConnector
β€˜β€™β€™

when running the command:
(venv): streamlight run full_path_to_test_file.py

I get a ModuleNotFoundError:

ModuleNotFoundError: No module named β€˜mdb_classes’

Traceback:

File "d:\********\.venv\lib\site-packages\streamlit\script_runner.py", line 333, in _run_script
    exec(code, module.__dict__)
File "D:\*****\streamlight_dashboard\***\test_file.py", line 5, in <module>
    from mdb_classes.postgres_class import PostGresConnector

Any idea what is the issue?
Thanks