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

Method test_selector_str_classname

noshadows.py:170–172  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

168 self.assertEqual(selector_str(rule), "html")
169
170 def test_selector_str_classname(self):
171 (rule,) = parse_stylesheet(".className {}")
172 self.assertEqual(selector_str(rule), ".className")
173
174 def test_selector_str_id(self):
175 (rule,) = parse_stylesheet("#identifier {}")

Callers

nothing calls this directly

Calls 1

selector_strFunction · 0.85

Tested by

no test coverage detected