Пример #1
0
    def test_is_a_subclass_client_object(self):
        class ElasticsearchSubClass(elasticsearch.Elasticsearch):
            pass

        test = ElasticsearchSubClass()
        self.assertIsNone(curator.verify_client_object(test))
Пример #2
0
 def test_is_a_subclass_client_object(self):
     class ElasticsearchSubClass(elasticsearch.Elasticsearch):
         pass
     test = ElasticsearchSubClass()
     self.assertIsNone(curator.verify_client_object(test))
Пример #3
0
 def test_is_client_object(self):
     test = elasticsearch.Elasticsearch()
     self.assertIsNone(curator.verify_client_object(test))
Пример #4
0
 def test_is_client_object(self):
     test = elasticsearch.Elasticsearch()
     self.assertIsNone(curator.verify_client_object(test))