File: skip-django-tests

package info (click to toggle)
python-mitogen 0.3.3-9%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,816 kB
  • sloc: python: 22,086; sh: 171; makefile: 74; perl: 19; ansic: 18; javascript: 5
file content (22 lines) | stat: -rw-r--r-- 715 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
From: Stefano Rivera <stefanor@debian.org>
Date: Sat, 24 Apr 2021 13:14:42 -0400
Subject: Skip Django tests

They require Django, and tend to fail for us.
---
 tests/module_finder_test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/module_finder_test.py b/tests/module_finder_test.py
index 171c8b4..401a607 100644
--- a/tests/module_finder_test.py
+++ b/tests/module_finder_test.py
@@ -296,7 +296,7 @@ class FindRelatedTest(testlib.TestCase):
         self.assertEqual(set(related), self.SIMPLE_EXPECT)
 
 
-if sys.version_info > (2, 6):
+if False:  # sys.version_info > (2, 6):
     class DjangoMixin(object):
         WEBPROJECT_PATH = os.path.join(testlib.MODS_DIR, 'webproject')