Running a file other than the main file for Unit Testing
posted to Ask by LeonGrin

Hi @timmy_i_chen
I am trying to run a unit testing code from the file test_main.py, as you can see here: https://repl.it/@LeonGrin/Unit-Testing-in-Python-with-Replit
This repl is very simple. I am trying to figure out a way to run unit testing on Repl.it without having to insert all the unit testing code on the main.py file. Do you know how can I do this?
I feel that it might exist a very simple solution to my problem that I am not seeing.

Running a file other than the main file for Unit Testing
posted to Ask by LeonGrin

@timmy_i_chen thank you. Is it possible for 2 repls to interact with each other? Maybe this could be a workaround.

Running a file other than the main file for Unit Testing
posted to Ask by LeonGrin

@mat1 This import in the main file allows to run code of the test_main file when you call it on the main file. But what I want to do is to run the test_main file without writting calling it's code on the main file.

Hiding Passwords and Secret Keys on Python's code using Repl.it
posted to Ask by LeonGrin

@kaldisberzins Thank you for your reply. Could you please take a look at the image that I am attaching and see if I did it the right way?

Repl.it and SQL
posted to Ask by LeonGrin

@heyitsmarcus Very interesting. Maybe I can use the Python SQLite 3 too. Thank you for the tip.