Functional Testing In Python Code