if __name__ == '__main__' is close to untestable - and should do nothing other than calling another function.