summaryrefslogtreecommitdiff
path: root/dev-python/boto/files/boto-2.49.0-mock-spec.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-03 03:10:55 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-03 03:10:55 +0000
commit670a2ef95331c60f32a0831bfe79445340356b0b (patch)
treecca4590ecf2c13488c7ef6c478f3e49acec2922d /dev-python/boto/files/boto-2.49.0-mock-spec.patch
parentd05150f06fa67b115a83f822b1e285dca011e1b7 (diff)
gentoo auto-resync : 03:11:2022 - 03:10:55
Diffstat (limited to 'dev-python/boto/files/boto-2.49.0-mock-spec.patch')
-rw-r--r--dev-python/boto/files/boto-2.49.0-mock-spec.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-python/boto/files/boto-2.49.0-mock-spec.patch b/dev-python/boto/files/boto-2.49.0-mock-spec.patch
new file mode 100644
index 000000000000..d8c8db2f1e9f
--- /dev/null
+++ b/dev-python/boto/files/boto-2.49.0-mock-spec.patch
@@ -0,0 +1,12 @@
+diff -ur boto-2.49.0.orig/tests/unit/ec2/test_volume.py boto-2.49.0/tests/unit/ec2/test_volume.py
+--- boto-2.49.0.orig/tests/unit/ec2/test_volume.py 2022-11-02 22:22:36.173725700 -0000
++++ boto-2.49.0/tests/unit/ec2/test_volume.py 2022-11-02 22:24:26.502590025 -0000
+@@ -55,7 +55,7 @@
+ @mock.patch("boto.resultset.ResultSet")
+ def test_startElement_with_name_tagSet_calls_ResultSet(self, ResultSet, startElement):
+ startElement.return_value = None
+- result_set = mock.Mock(ResultSet([("item", Tag)]))
++ result_set = ResultSet([("item", Tag)])
+ volume = Volume()
+ volume.tags = result_set
+ retval = volume.startElement("tagSet", None, None)