Exemple #1
0
 def test_username_placeholder(self):
     tmp = f.username_placeholder(self.text)
     self.assertEqual(tmp, 'Ooooh myyy gooooooood, ||U||!!!! :D :) This is #amazing: 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