File: 0002-disable-broken-tests.patch

package info (click to toggle)
python-can 3.0.0%2Bgithub-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,892 kB
  • sloc: python: 8,014; makefile: 29; sh: 12
file content (36 lines) | stat: -rw-r--r-- 1,109 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
Description: temporarily disable script tests
Author: IOhannes m zmölnig
Forwarded: not-needed
Last-Update: 2019-02-11
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- python-can.orig/test/test_scripts.py
+++ python-can/test/test_scripts.py
@@ -78,10 +78,10 @@
     def _commands(self):
         commands = [
             "python -m can.logger --help",
-            "python scripts/can_logger.py --help"
+#            "python scripts/can_logger.py --help"
         ]
-        if IS_UNIX:
-            commands += ["can_logger.py --help"]
+#        if IS_UNIX:
+#            commands += ["can_logger.py --help"]
         return commands
 
     def _import(self):
@@ -96,10 +96,10 @@
     def _commands(self):
         commands = [
             "python -m can.player --help",
-            "python scripts/can_player.py --help"
+#            "python scripts/can_player.py --help"
         ]
-        if IS_UNIX:
-            commands += ["can_player.py --help"]
+#        if IS_UNIX:
+#            commands += ["can_player.py --help"]
         return commands
 
     def _import(self):