Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Update
python-django-filter
fix_tests.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_tests.patch of Package python-django-filter
From 9f86ae2e95c93153d5bd52f4b2ada83f766a5cf3 Mon Sep 17 00:00:00 2001 From: Ryan P Kilby <kilbyr@gmail.com> Date: Thu, 4 Apr 2019 09:37:50 -0700 Subject: [PATCH] Cleanup XML test runner output (#1060) * Put xml coverage files into subdirectory * Expect IsoDateTimeFromToRangeFilterTests to fail --- .gitignore | 1 + tests/settings.py | 4 ++++ tests/test_filtering.py | 1 + 3 files changed, 6 insertions(+) Index: django-filter-2.1.0/tests/settings.py =================================================================== --- django-filter-2.1.0.orig/tests/settings.py +++ django-filter-2.1.0/tests/settings.py @@ -36,6 +36,10 @@ TEMPLATES = [{ STATIC_URL = '/static/' +# XMLTestRunner output +TEST_OUTPUT_DIR = '.xmlcoverage' + + # help verify that DEFAULTS is importable from conf. def FILTERS_VERBOSE_LOOKUPS(): return DEFAULTS['VERBOSE_LOOKUPS'] Index: django-filter-2.1.0/tests/test_filtering.py =================================================================== --- django-filter-2.1.0.orig/tests/test_filtering.py +++ django-filter-2.1.0/tests/test_filtering.py @@ -978,6 +978,7 @@ class DateTimeFromToRangeFilterTests(Tes self.assertEqual(len(results.qs), 2) +@unittest.expectedFailure class IsoDateTimeFromToRangeFilterTests(TestCase): def test_filtering(self):
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor