python test client