unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 43652c451c2945a7a3e1dc1224d96847a5b1a38b 2608 bytes (raw)
name: gnu/packages/patches/python-barbicanclient-assertItemsEqual.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
 
diff --git a/barbicanclient/tests/test_containers.py b/barbicanclient/tests/test_containers.py
index 1327216..0b785a9 100644
--- a/barbicanclient/tests/test_containers.py
+++ b/barbicanclient/tests/test_containers.py
@@ -17,6 +17,7 @@ import json
 
 import mock
 from oslo_utils import timeutils
+import six
 
 from barbicanclient import acls
 from barbicanclient.tests import test_client
@@ -197,7 +198,7 @@ class WhenTestingContainers(test_client.BaseEntityResource):
         container_req = json.loads(self.responses.last_request.text)
         self.assertEqual(self.container.name, container_req['name'])
         self.assertEqual('certificate', container_req['type'])
-        self.assertItemsEqual(self.container.certificate_secret_refs_json,
+        six.assertCountEqual(self, self.container.certificate_secret_refs_json,
                               container_req['secret_refs'])
 
     def test_should_store_certificate_via_constructor(self):
@@ -222,7 +223,7 @@ class WhenTestingContainers(test_client.BaseEntityResource):
         container_req = json.loads(self.responses.last_request.text)
         self.assertEqual(self.container.name, container_req['name'])
         self.assertEqual('certificate', container_req['type'])
-        self.assertItemsEqual(self.container.certificate_secret_refs_json,
+        six.assertCountEqual(self, self.container.certificate_secret_refs_json,
                               container_req['secret_refs'])
 
     def test_should_store_rsa_via_attributes(self):
@@ -246,7 +247,7 @@ class WhenTestingContainers(test_client.BaseEntityResource):
         container_req = json.loads(self.responses.last_request.text)
         self.assertEqual(self.container.name, container_req['name'])
         self.assertEqual('rsa', container_req['type'])
-        self.assertItemsEqual(self.container.rsa_secret_refs_json,
+        six.assertCountEqual(self, self.container.rsa_secret_refs_json,
                               container_req['secret_refs'])
 
     def test_should_store_rsa_via_constructor(self):
@@ -271,7 +272,7 @@ class WhenTestingContainers(test_client.BaseEntityResource):
         container_req = json.loads(self.responses.last_request.text)
         self.assertEqual(self.container.name, container_req['name'])
         self.assertEqual('rsa', container_req['type'])
-        self.assertItemsEqual(self.container.rsa_secret_refs_json,
+        six.assertCountEqual(self, self.container.rsa_secret_refs_json,
                               container_req['secret_refs'])
 
     def test_should_get_secret_refs_when_created_using_secret_objects(self):

debug log:

solving 43652c4 ...
found 43652c4 in https://yhetil.org/guix-devel/1461939663-5936-11-git-send-email-tipecaml@gmail.com/

applying [1/1] https://yhetil.org/guix-devel/1461939663-5936-11-git-send-email-tipecaml@gmail.com/
diff --git a/gnu/packages/patches/python-barbicanclient-assertItemsEqual.patch b/gnu/packages/patches/python-barbicanclient-assertItemsEqual.patch
new file mode 100644
index 0000000..43652c4

1:12: trailing whitespace.
 
1:16: trailing whitespace.
 
1:26: trailing whitespace.
 
1:35: trailing whitespace.
 
1:44: trailing whitespace.
 
Checking patch gnu/packages/patches/python-barbicanclient-assertItemsEqual.patch...
Applied patch gnu/packages/patches/python-barbicanclient-assertItemsEqual.patch cleanly.
warning: squelched 1 whitespace error
warning: 6 lines add whitespace errors.

index at:
100644 43652c451c2945a7a3e1dc1224d96847a5b1a38b	gnu/packages/patches/python-barbicanclient-assertItemsEqual.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).