def test__uri(self): d = ElasticDict() result = d._uri("some_key") eq_(result, "http://localhost:9200/elasticdict/data/some_key")