File: skip-tests-2.patch

package info (click to toggle)
python-glanceclient 1%3A2.5.0-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,228 kB
  • ctags: 1,620
  • sloc: python: 12,742; sh: 151; makefile: 36
file content (55 lines) | stat: -rw-r--r-- 2,059 bytes parent folder | download | duplicates (3)
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
49
50
51
52
53
54
55
Description: Skip tests that are failing upstream.
             https://bugs.launchpad.net/python-glanceclient/+bug/1504360
Author: Corey Bryant <corey.bryant@canonical.com>
Forwarded: No
Last-Update: 2016-01-16

--- a/glanceclient/tests/unit/v1/test_shell.py
+++ b/glanceclient/tests/unit/v1/test_shell.py
@@ -268,6 +268,7 @@
     def assert_called_anytime(self, method, url, body=None):
         return self.shell.cs.assert_called_anytime(method, url, body)
 
+    @testtools.skip("Skipped by Debian")
     def test_image_list_invalid_endpoint(self):
         self.assertRaises(
             exc.CommunicationError, self.run_command, 'image-list')
@@ -277,32 +278,38 @@
             exc.CommunicationError,
             self.run_command, 'image-create')
 
+    @testtools.skip("Skipped by Debian")
     def test_image_delete_invalid_endpoint(self):
         self.assertRaises(
             exc.CommunicationError,
             self.run_command, 'image-delete <fake>')
 
+    @testtools.skip("Skipped by Debian")
     def test_image_download_invalid_endpoint(self):
         self.assertRaises(
             exc.CommunicationError,
             self.run_command, 'image-download <fake>')
 
+    @testtools.skip("Skipped by Debian")
     def test_members_list_invalid_endpoint(self):
         self.assertRaises(
             exc.CommunicationError,
             self.run_command, 'member-list --image-id fake')
 
+    @testtools.skip("Skipped by Debian")
     def test_image_show_invalid_endpoint(self):
         self.assertRaises(
             exc.CommunicationError,
             self.run_command, 'image-show --human-readable <IMAGE_ID>')
 
+    @testtools.skip("Skipped by Debian")
     def test_member_create_invalid_endpoint(self):
         self.assertRaises(
             exc.CommunicationError,
             self.run_command,
             'member-create --can-share <IMAGE_ID> <TENANT_ID>')
 
+    @testtools.skip("Skipped by Debian")
     def test_member_delete_invalid_endpoint(self):
         self.assertRaises(
             exc.CommunicationError,