I am getting this error when I try to run example_test.py. Is there anything I am doing wrong?
Yes, you need to use the runner in order to run the functional tests. For more informations :
python3 test/functional/test_runner.py --help
The file you ran is, as written in the docstring, an example of a typical functional test. It is here to help a (likely ...