1 |
commit: a6b43ab37d942ba2aab0c27671c0685ba0001267 |
2 |
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Aug 8 16:23:58 2017 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 8 22:36:46 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6b43ab3 |
7 |
|
8 |
dev-python/python-heatclient: remove unused patch |
9 |
|
10 |
.../files/remove-unmaintained-tests.patch | 59 ---------------------- |
11 |
1 file changed, 59 deletions(-) |
12 |
|
13 |
diff --git a/dev-python/python-heatclient/files/remove-unmaintained-tests.patch b/dev-python/python-heatclient/files/remove-unmaintained-tests.patch |
14 |
deleted file mode 100644 |
15 |
index fb3fea3454d..00000000000 |
16 |
--- a/dev-python/python-heatclient/files/remove-unmaintained-tests.patch |
17 |
+++ /dev/null |
18 |
@@ -1,59 +0,0 @@ |
19 |
-diff --git a/heatclient/tests/unit/test_common_http.py b/heatclient/tests/unit/test_common_http.py |
20 |
-index bb2fa20..309db93 100644 |
21 |
---- a/heatclient/tests/unit/test_common_http.py |
22 |
-+++ b/heatclient/tests/unit/test_common_http.py |
23 |
-@@ -624,15 +624,6 @@ class HttpClientTest(testtools.TestCase): |
24 |
- self.assertEqual(200, resp.status_code) |
25 |
- self.assertEqual({}, body) |
26 |
- |
27 |
-- def test_get_system_ca_file(self): |
28 |
-- chosen = '/etc/ssl/certs/ca-certificates.crt' |
29 |
-- self.m.StubOutWithMock(os.path, 'exists') |
30 |
-- os.path.exists(chosen).AndReturn(chosen) |
31 |
-- self.m.ReplayAll() |
32 |
-- |
33 |
-- ca = http.get_system_ca_file() |
34 |
-- self.assertEqual(chosen, ca) |
35 |
-- |
36 |
- def test_insecure_verify_cert_None(self): |
37 |
- client = http.HTTPClient('https://foo', insecure=True) |
38 |
- self.assertFalse(client.verify_cert) |
39 |
-diff --git a/heatclient/tests/unit/test_shell.py b/heatclient/tests/unit/test_shell.py |
40 |
-index 0e4bf03..dad8a9f 100644 |
41 |
---- a/heatclient/tests/unit/test_shell.py |
42 |
-+++ b/heatclient/tests/unit/test_shell.py |
43 |
-@@ -3449,34 +3449,6 @@ class ShellTestResources(ShellBase): |
44 |
- def test_resource_list_no_resource_name(self): |
45 |
- self._test_resource_list(False) |
46 |
- |
47 |
-- def test_resource_list_empty(self): |
48 |
-- self.register_keystone_auth_fixture() |
49 |
-- resp_dict = {"resources": []} |
50 |
-- resp = fakes.FakeHTTPResponse( |
51 |
-- 200, |
52 |
-- 'OK', |
53 |
-- {'content-type': 'application/json'}, |
54 |
-- jsonutils.dumps(resp_dict)) |
55 |
-- stack_id = 'teststack/1' |
56 |
-- http.SessionClient.request( |
57 |
-- '/stacks/%s/resources' % ( |
58 |
-- stack_id), 'GET').AndReturn(resp) |
59 |
-- |
60 |
-- self.m.ReplayAll() |
61 |
-- |
62 |
-- resource_list_text = self.shell('resource-list {0}'.format(stack_id)) |
63 |
-- |
64 |
-- self.assertEqual('''\ |
65 |
--+---------------+----------------------+---------------+-----------------+\ |
66 |
----------------+ |
67 |
--| resource_name | physical_resource_id | resource_type | resource_status |\ |
68 |
-- updated_time | |
69 |
--+---------------+----------------------+---------------+-----------------+\ |
70 |
----------------+ |
71 |
--+---------------+----------------------+---------------+-----------------+\ |
72 |
----------------+ |
73 |
--''', resource_list_text) |
74 |
-- |
75 |
- def test_resource_list_nested(self): |
76 |
- self.register_keystone_auth_fixture() |
77 |
- resp_dict = {"resources": [{ |