Esempio n. 1
0
 def test_switch_direction_left(self):
     parser = CSSRtlParser("")
     result = parser._switch_direction("left")
     self.assertEqual("right", result)
Esempio n. 2
0
 def test_switch_direction_other(self):
     parser = CSSRtlParser("")
     result = parser._switch_direction("center")
     self.assertIsNone(result)