File: use-skipTest-not-just-skip.patch

package info (click to toggle)
python-glance-store 5.2.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,908 kB
  • sloc: python: 18,046; sh: 41; makefile: 34
file content (17 lines) | stat: -rw-r--r-- 791 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Use skipTest, not just skip
Author: Thomas Goirand <zigo@debian.org>
Bug-Debian: https://bugs.debian.org/1124198
Forwarded: no
Last-Update: 2025-12-29

--- python-glance-store-5.2.0.orig/glance_store/tests/unit/cinder/test_base.py
+++ python-glance-store-5.2.0/glance_store/tests/unit/cinder/test_base.py
@@ -87,7 +87,7 @@ class TestBaseBrickConnectorInterface(te
 
     def test_connect_volume(self):
         if self.connection_info['driver_volume_type'] == 'nfs':
-            self.skip('NFS tests have custom implementation of this method.')
+            self.skipTest('NFS tests have custom implementation of this method.')
         fake_vol = mock.MagicMock()
         fake_path = {'path': 'fake_dev_path'}
         self.mock_object(self.connector.conn, 'connect_volume',