def test_check_unset_server(self):
        ipc.IPYSERVER = 'test'
        assert ipc.check_server() == True, "With server returns true"
This just checks that IPYSERVER is set. 
dataset/ETHPy150Open mattfoster/ipython-tmbundle/Tests/test_ipythonClient.py/TestCheckServer.test_check_unset_server