[7.x] Restore default metric='_all' to cluster.state()
This commit is contained in:
@@ -18,3 +18,7 @@ class TestIndices(ElasticsearchTestCase):
|
||||
self.assertRaises(ValueError, self.client.indices.exists, index=None)
|
||||
self.assertRaises(ValueError, self.client.indices.exists, index=[])
|
||||
self.assertRaises(ValueError, self.client.indices.exists, index="")
|
||||
|
||||
def test_put_mapping_without_index(self):
|
||||
self.client.indices.put_mapping(doc_type="doc-type", body={})
|
||||
self.assert_url_called("PUT", "/_all/doc-type/_mapping")
|
||||
|
||||
Reference in New Issue
Block a user