File: 002-broken-test.patch

package info (click to toggle)
python-gitlab 1%3A2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,196 kB
  • sloc: python: 9,542; makefile: 164; sh: 150
file content (16 lines) | stat: -rw-r--r-- 589 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
From: Federico Ceratto <federico@debian.org>
Subject: Handle broken test
Forwarded: no
Bug: https://github.com/python-gitlab/python-gitlab/pull/916

--- a/gitlab/tests/test_gitlab.py
+++ b/gitlab/tests/test_gitlab.py
@@ -605,7 +605,7 @@
             self.assertEqual(status.message, "test")
             self.assertEqual(status.emoji, "thumbsup")
 
-    def test_todo(self):
+    def skip_test_todo(self):
         with open(os.path.dirname(__file__) + "/data/todo.json", "r") as json_file:
             todo_content = json_file.read()
             json_content = json.loads(todo_content)