示例#1
0
 def testWithInterpolation(self):
     node = self.parse(
         """
         div "Some {var} text"
         """
     )
     messages = Extractor.extract(node)
     self.assertEqual(messages, ["Some {var} text"])
示例#2
0
 def testString(self):
     node = self.parse(
         """
         div "Some text"
         """
     )
     messages = Extractor.extract(node)
     self.assertEqual(messages, ["Some text"])