def test_handshake_and_call_increments_counter(self, rpc):
        assert 'counter=0' in str(rpc)
        rpc.handshake()
        assert 'counter=1' in str(rpc)
        rpc.call('event',
                 {"Name": "foo", "Payload": "test payload", "Coalesce": True},
                 expect_body=False)
        assert 'counter=2' in str(rpc)
dataset/ETHPy150Open KushalP/serfclient-py/tests/test_connection.py/TestSerfConnection.test_handshake_and_call_increments_counter/original