File: 20-disable-autopkgtest-bts.patch

package info (click to toggle)
bash-completion 1%3A2.16.0-8
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 7,440 kB
  • sloc: python: 11,252; makefile: 2,471; sh: 934; perl: 85; awk: 55; xml: 29; ansic: 7; java: 5; ruby: 2
file content (20 lines) | stat: -rw-r--r-- 669 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
From: Gabriel F. T. Gomes <gabriel@inconstante.net.br>
Subject: Ignore test suit failure for out-of-sync completion

diff --git a/test/t/test_bts.py b/test/t/test_bts.py
index 53dd62fc..a8f0c490 100644
--- a/test/t/test_bts.py
+++ b/test/t/test_bts.py
@@ -2,10 +2,12 @@ import pytest
 
 
 class TestBts:
+    @pytest.mark.xfail(reason="out-of-sync with upstream completion (devscripts)")
     @pytest.mark.complete("bts ")
     def test_1(self, completion):
         assert completion
 
+    @pytest.mark.xfail(reason="out-of-sync with upstream completion (devscripts)")
     @pytest.mark.complete("bts -")
     def test_2(self, completion):
         assert completion