Fix for replit tests

There is a current issue with replit, and it does not put the right files in for the tests system to work.

First you need to enable viewing of hidden files:

Click the three dots circled in blue below. Then click on “”Show hidden files”. The files circled in red will show up. These are out of date.

Open the .replit file and you will see this code:

entrypoint = "main.py"

modules = ["python-3.8:v2-20230907-3d66d15"]

hidden = [".pythonlibs"]

[nix]
channel = "stable-23_05"

[env]
LANG = "en_US.UTF-8"

Add this single line to to beginning:

run = ["python3", "main.py"]

So now the file looks like this:

run = ["python3", "main.py"]
entrypoint = "main.py"

modules = ["python-3.8:v2-20230907-3d66d15"]

hidden = [".pythonlibs"]

[nix]
channel = "stable-23_05"

[env]
LANG = "en_US.UTF-8"

Now testing should work

Scroll to Top