You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the great tutorial! Whilst working through it I came upon an issue when renaming test_main.py file to test_ping.py - after renaming running the tests fails with the error: E AssertionError: PosixPath('/usr/src/app/tests/test_ping.py') is not a file (isdir=False, exists=True, islink=False)
I found it was necessary to delete the container and then rebuild without cache using docker compose build --no-cache in order for the tests to be discoverable and run correctly after changing the name of the original test file. Not sure if this issue is worth updating the tutorial to reflect in case others run into the same error.
The text was updated successfully, but these errors were encountered:
Thanks for the great tutorial! Whilst working through it I came upon an issue when renaming test_main.py file to test_ping.py - after renaming running the tests fails with the error:
E AssertionError: PosixPath('/usr/src/app/tests/test_ping.py') is not a file (isdir=False, exists=True, islink=False)
I found it was necessary to delete the container and then rebuild without cache using
docker compose build --no-cache
in order for the tests to be discoverable and run correctly after changing the name of the original test file. Not sure if this issue is worth updating the tutorial to reflect in case others run into the same error.The text was updated successfully, but these errors were encountered: