def pad(self, string):
        """
        Add some lorem ipsum text to the end of string to simulate more verbose languages (like German).
        Padding factor extrapolated by guidelines at http://www.w3.org/International/articles/article-text-size.en
        """
        size = len(string)
        target = size * (4.75 - size ** 0.27)
        pad_len = int(target) - size
        return string + self.LOREM[:pad_len] + "#"
Add some lorem ipsum text to the end of string to simulate more verbose languages (like German).
        Padding factor extrapolated by guidelines at http://www.w3.org/International/articles/article-text-size.en