Skip to content

Commit 850fa8a

Browse files
committed
Remove related test
1 parent b58adec commit 850fa8a

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

tests/test_templatetags.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
from rest_framework.relations import Hyperlink
99
from rest_framework.templatetags import rest_framework
1010
from rest_framework.templatetags.rest_framework import (
11-
add_nested_class, add_query_param, as_string, break_long_headers,
12-
format_value, get_pagination_html, schema_links
11+
add_nested_class, add_query_param, as_string, format_value,
12+
get_pagination_html, schema_links
1313
)
1414
from rest_framework.test import APIRequestFactory
1515

@@ -234,11 +234,6 @@ def to_html(self):
234234
get_pagination_html(pager)
235235
assert pager.called is True
236236

237-
def test_break_long_lines(self):
238-
header = 'long test header,' * 20
239-
expected_header = '<br> ' + ', <br>'.join(header.split(','))
240-
assert break_long_headers(header) == expected_header
241-
242237

243238
class Issue1386Tests(TestCase):
244239
"""

0 commit comments

Comments
 (0)