hitchstory icon indicating copy to clipboard operation
hitchstory copied to clipboard

Getting FileNotFound errors when running example tests

Open KaneCoulton opened this issue 2 years ago • 3 comments

Hi, I've recently discovered hitchstory and been trying to get the rewrite test_correct_my_spelling example working. The issue I'm currently seeing is that when running $ STORYMODE=rewrite ./run.sh pytest -k test_correct_my_spelling I'm getting the error No such file or directory: '/src/tests/docstory.yml.

I'm wondering if this is to do with the recent directory changes?

It appears a lot of the links on that example page are also broken as a result of the directoy changes.

Or is there something I'm doing wrong?

Thanks

KaneCoulton avatar Nov 09 '23 04:11 KaneCoulton

yes, it almost certainly is some changes I made recently to the examples. thank you for bringing it up I will try to fix it a bit later on today.

On Thu, 9 Nov 2023, 05:32 KaneCoulton, @.***> wrote:

Hi, I've recently discovered hitchstory and been trying to get the rewrite test_correct_my_spelling example working. The issue I'm currently seeing is that when running $ STORYMODE=rewrite ./run.sh pytest -k test_correct_my_spelling I'm getting the error No such file or directory: '/src/tests/docstory.yml.

I'm wondering if this is to do with the recent directory changes?

It appears a lot of the links on that example page are also broken as a result of the directoy changes.

Or is there something I'm doing wrong?

Thanks

— Reply to this email directly, view it on GitHub https://github.com/hitchdev/hitchstory/issues/10, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOJKNMRFYFBDQT2HEYPJFDYDRMEXAVCNFSM6AAAAAA7D52PAWVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE4DIOBQGA2TIMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

crdoconnor avatar Nov 09 '23 07:11 crdoconnor

which example were you using - website, command line or rest api?

On Thu, 9 Nov 2023, 08:58 Colm O'Connor, @.***> wrote:

yes, it almost certainly is some changes I made recently to the examples. thank you for bringing it up I will try to fix it a bit later on today.

On Thu, 9 Nov 2023, 05:32 KaneCoulton, @.***> wrote:

Hi, I've recently discovered hitchstory and been trying to get the rewrite test_correct_my_spelling example working. The issue I'm currently seeing is that when running $ STORYMODE=rewrite ./run.sh pytest -k test_correct_my_spelling I'm getting the error No such file or directory: '/src/tests/docstory.yml.

I'm wondering if this is to do with the recent directory changes?

It appears a lot of the links on that example page are also broken as a result of the directoy changes.

Or is there something I'm doing wrong?

Thanks

— Reply to this email directly, view it on GitHub https://github.com/hitchdev/hitchstory/issues/10, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOJKNMRFYFBDQT2HEYPJFDYDRMEXAVCNFSM6AAAAAA7D52PAWVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE4DIOBQGA2TIMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

crdoconnor avatar Nov 09 '23 07:11 crdoconnor

website

KaneCoulton avatar Nov 10 '23 03:11 KaneCoulton