File: Testing-Ignore-test-around-git-tooling.patch

package info (click to toggle)
twisted 25.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 20,460 kB
  • sloc: python: 203,167; makefile: 200; sh: 92; javascript: 36; xml: 31
file content (42 lines) | stat: -rw-r--r-- 1,312 bytes parent folder | download | duplicates (2)
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
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Mon, 17 Jan 2022 07:30:38 +0100
Subject: Testing: Ignore test around git tooling

We build based on extracted data from an tarball, therefore the git
checking functions can't work and we place simply a static link to the
upstream data.
---
 src/twisted/python/test/test_release.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/twisted/python/test/test_release.py b/src/twisted/python/test/test_release.py
index 62f048e..d6e7aaf 100644
--- a/src/twisted/python/test/test_release.py
+++ b/src/twisted/python/test/test_release.py
@@ -48,6 +48,8 @@ GENERIC_CI_ENVIRON = {
 }
 
 
+skip = "Not relevant within Debian."
+
 class ExternalTempdirTestCase(TestCase):
     """
     A test case which has mkdir make directories outside of the usual spot, so
@@ -353,6 +355,8 @@ class CommandsTestMixin(StructureAssertingMixin):
     Test mixin for the VCS commands used by the release scripts.
     """
 
+    skip = "Not relevant within Debian."
+
     def setUp(self):
         self.tmpDir = FilePath(self.mktemp())
 
@@ -438,6 +442,8 @@ class GitCommandTest(CommandsTestMixin, ExternalTempdirTestCase):
     L{GitCommand}.
     """
 
+    skip = "Not relevant within Debian."
+
     createCommand = GitCommand
 
     def makeRepository(self, root):