beanlab / quest_framework

A Python framework for fault-tolerant workflows
0 stars 0 forks source link

Andrew / Uses full quest_test.utils module path #8

Closed ABCambridge closed 3 months ago

ABCambridge commented 5 months ago

While trying to run the pytests on the main branch, poetry kept giving me an error regarding the utils module, defined in utils.py of the quest_test directory. Turns out, that pytest just needed to see quest_test.utils and was able to find the module just fine.

Note: I have still been using VSCode, so maybe this wasn't an issue on pycharm. However, if this change is compatible on both IDEs, this might be a helpful change to pull to main.

kjstanding commented 5 months ago

Not sure if I need to do something more official to "review" this pull request, but here are my notes. Using Pycharm, I was getting the same error as Andrew when running tests in the quest_test directory. I checked out the changes in the pending merge and I was able to run the tests afterwards with no errors