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