MCPcopy Create free account
hub / github.com/django/code.djangoproject.com / test_selector_str_with_comma

Method test_selector_str_with_comma

noshadows.py:186–188  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

184 self.assertEqual(selector_str(rule), "input[type=text]")
185
186 def test_selector_str_with_comma(self):
187 (rule,) = parse_stylesheet("a, button {}")
188 self.assertEqual(selector_str(rule), "a, button")
189
190 def test_selector_str_with_comma_and_newline(self):
191 (rule,) = parse_stylesheet("a,\nbutton {}")

Callers

nothing calls this directly

Calls 1

selector_strFunction · 0.85

Tested by

no test coverage detected