Some python code to test some DB