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())
def placeholders(text): text = f.url_placeholder(text) text = f.username_placeholder(text) text = f.hash_placeholder(text) return text