Exemple #1
0
 def test_hash_placeholder(self):
     tmp = f.hash_placeholder(self.text)
     self.assertEqual(tmp, "Ooooh myyy gooooooood, @username!!!! :D :) This is ||H||: http://someurl.com/fdhsiufds?dsads=dsa".lower())
Exemple #2
0
def placeholders(text):
  text = f.url_placeholder(text)
  text = f.username_placeholder(text)
  text = f.hash_placeholder(text)
  return text
def placeholders(text):
    text = f.url_placeholder(text)
    text = f.username_placeholder(text)
    text = f.hash_placeholder(text)
    return text