pyDataverse icon indicating copy to clipboard operation
pyDataverse copied to clipboard

run-tests.sh: unit tests failed locally

Open pdurbin opened this issue 3 months ago • 1 comments

I'm on a32e0a3 and thought I'd give ./run-tests.sh a shot. It showed...

❌ Unit tests failed. Printing logs...

... and here are the logs: unit-tests.log.txt

I'm getting set up on a new computer so the problem could definitely be me! 😅

I ran it twice because I noticed this line in the contributing guide...

If you have not used the run-tests.sh before, you have to create a directory dv and a file dv/bootstrap.exposed.env

... and I do have a populated bootstrap.exposed.env file.

pdurbin avatar Sep 19 '25 14:09 pdurbin

Thanks for the check and sharing the logs. I’ve identified the first issue, which is related to a hard-coded Dataverse version 6.3. This version should either be set manually or dynamically inferred from the container that is started.

As for the other failed tests, I’m not sure what the exact issue is. It seems like the request has failed, but it doesn’t specify the reason. I’ve run the tests manually on my machine, and they don’t fail, so it could be related to the containers. I’ll check what’s going on.

JR-1991 avatar Sep 22 '25 17:09 JR-1991