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