File: Ignore-CLI-related-tests.patch

package info (click to toggle)
python-tablib 3.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 744 kB
  • sloc: python: 3,827; makefile: 125
file content (56 lines) | stat: -rw-r--r-- 1,863 bytes parent folder | download
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
56
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Sun, 6 Jun 2021 11:19:56 +0200
Subject: Ignore CLI related tests

Forwarded: not-needed
---
 tests/test_tablib.py | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/tests/test_tablib.py b/tests/test_tablib.py
index 2bc397b..3709b8c 100755
--- a/tests/test_tablib.py
+++ b/tests/test_tablib.py
@@ -1914,24 +1914,24 @@ class DocTests(unittest.TestCase):
         self.assertEqual(results.failed, 0)
 
 
-class CliTests(BaseTestCase):
-    def test_cli_export_github(self):
-        self.assertEqual(
-            '|---|---|---|\n| a | b | c |',
-            tablib.Dataset(['a', 'b', 'c']).export('cli', tablefmt='github')
-        )
-
-    def test_cli_export_simple(self):
-        self.assertEqual(
-            '-  -  -\na  b  c\n-  -  -',
-            tablib.Dataset(['a', 'b', 'c']).export('cli', tablefmt='simple')
-        )
-
-    def test_cli_export_grid(self):
-        self.assertEqual(
-            '+---+---+---+\n| a | b | c |\n+---+---+---+',
-            tablib.Dataset(['a', 'b', 'c']).export('cli', tablefmt='grid')
-        )
+#class CliTests(BaseTestCase):
+#    def test_cli_export_github(self):
+#        self.assertEqual(
+#            '|---|---|---|\n| a | b | c |',
+#            tablib.Dataset(['a', 'b', 'c']).export('cli', tablefmt='github')
+#        )
+#
+#    def test_cli_export_simple(self):
+#        self.assertEqual(
+#            '-  -  -\na  b  c\n-  -  -',
+#            tablib.Dataset(['a', 'b', 'c']).export('cli', tablefmt='simple')
+#        )
+#
+#    def test_cli_export_grid(self):
+#        self.assertEqual(
+#            '+---+---+---+\n| a | b | c |\n+---+---+---+',
+#            tablib.Dataset(['a', 'b', 'c']).export('cli', tablefmt='grid')
+#        )
 
 
 class SQLFormatTests(unittest.TestCase):