MCPcopy Create free account
hub / github.com/gawel/pyquery / test_separators

Method test_separators

tests/browser_base.py:54–69  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

52 )
53
54 def test_separators(self):
55 self._simple_test(
56 'Some words<br>test. Another word<br><br> <br> test.',
57 'Some words\ntest. Another word\n\n\ntest.',
58 'Some words\ntest. Another word\n\n \n test.',
59 )
60 self._simple_test(
61 'Inline <span> split by\nbr<br>tag</span> test',
62 'Inline split by br\ntag test',
63 'Inline split by\nbr\ntag test',
64 )
65 self._simple_test(
66 'Some words<hr>test. Another word<hr><hr> <hr> test.',
67 'Some words\ntest. Another word\ntest.',
68 'Some words\n\ntest. Another word\n\n\n\n \n\n test.',
69 )
70
71 def test_strip(self):
72 self._simple_test(

Callers

nothing calls this directly

Calls 1

_simple_testMethod · 0.95

Tested by

no test coverage detected