File: 001_disable_tests

package info (click to toggle)
python-consul 0.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 47,052 kB
  • sloc: python: 3,081; makefile: 147
file content (25 lines) | stat: -rw-r--r-- 699 bytes parent folder | download | duplicates (3)
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
Author: Olivier Sallou <osallou@debian.org>
Subject: ignore tests needing a running consul instance
Description: some tests require a running instance of Consul,
 so disabling them for Debian CI
Last-Updated: 2017-08-17
Forwarded: no
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -20,7 +20,7 @@
     p = os.path.join(os.path.dirname(__file__), 'test_aio.py')
     collect_ignore.append(p)
 
-
+'''
 if sys.version_info[0] == 2 and sys.version_info[1] < 7:
     p = os.path.join(os.path.dirname(__file__), 'test_twisted.py')
     collect_ignore.append(p)
@@ -28,6 +28,7 @@
     collect_ignore.append(p)
 else:
     pytest_plugins = "pytest_twisted"
+'''
 
 
 def get_free_ports(num, host=None):