Beispiel #1
0
 def test_period(self):
     assert renderer._safe_selector("some_name.3") == "some_name-3"
Beispiel #2
0
 def test_combo(self):
     assert renderer._safe_selector("some:name.3") == "some-name-3"
Beispiel #3
0
 def test_no_replacement(self):
     assert renderer._safe_selector("test") == "test"