def test_not_in(self):
        """ Can check if key is not in client """
        client = etcd.Client()
        client.get = mock.Mock(side_effect=etcd.EtcdKeyNotFound())
        result = '/testkey' not in client
        self.assertEquals(True, result)
dataset/ETHPy150Open jplana/python-etcd/src/etcd/tests/unit/test_old_request.py/TestClientRequest.test_not_in/original