Codebase list elasticsearch-curator / a334dd8
Add patch to skipe tests on Debian Emmanuel Arias 4 years ago
2 changed file(s) with 33 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 From: Emmanuel Arias <eamanu@yaerobi.com>
1 Date: Thu, 19 Dec 2019 12:31:47 -0300
2 Subject: Skip tests that fails on Debian.
3
4 ---
5 test/unit/test_utils.py | 4 +++-
6 1 file changed, 3 insertions(+), 1 deletion(-)
7
8 diff --git a/test/unit/test_utils.py b/test/unit/test_utils.py
9 index dd46033..21045dd 100644
10 --- a/test/unit/test_utils.py
11 +++ b/test/unit/test_utils.py
12 @@ -1,5 +1,5 @@
13 from datetime import datetime, timedelta
14 -from unittest import TestCase
15 +from unittest import TestCase, skip
16 from mock import Mock
17 import elasticsearch
18 import yaml
19 @@ -315,10 +315,12 @@ class TestGetClient(TestCase):
20 curator.get_client, **kwargs
21 )
22
23 + @skip("Skiped On Debian")
24 def test_api_key_not_set(self):
25 kwargs = { 'api_key': None }
26 self.assertIsNotNone(curator.get_client(**kwargs))
27
28 + @skip("Skiped On Debian")
29 def test_api_key_set(self):
30 kwargs = { 'api_key': 'some-api-key' }
31 client = curator.get_client(**kwargs)
11 0002-sphinx-use-local-inventory-references-for-intersphin.patch
22 0003-Remove-versions-dependencies-from-setup.patch
33 0004-Remove-requests_aws4auth-from-requirements.patch
4 0005-Skip-tests-that-fails-on-Debian.patch