Unit Test Void Function Python