I have a python script (main.py) that calls a method in another python script (tester.py) that performs a bunch of tests, using unittest framework, and returns. What exception does main.py look for in it's try, except block?
I've tried the following but the exception is never triggered.
try:
tester.run()
except Exception, ex:
print ex
According to the documentation it raises AssertionError. However, I've tried AssertionError, Exception, but neither work.
Any ideas.