import os
import random
import faker


fake = faker.Faker()


class CrazyProvider(faker.providers.BaseProvider):
    def linux_filename(self):
        path = '/'
        for _ in range(random.randint(0, 10)):
            path = os.path.join(path, fake.word())
        return path

    def paragraph_with_salt(self, salt, seperator = ' '):
        _text = [fake.text(max_nb_chars=100) for _ in range(3)]
        paragraph = salt + _text
        random.shuffle(paragraph)
        return seperator.join(paragraph)

fake.add_provider(CrazyProvider)

import os
import random
import faker


fake = faker.Faker()


class CrazyProvider(faker.providers.BaseProvider):
    def linux_filename(self):
        path = '/'
        for _ in range(random.randint(0, 10)):
            path = os.path.join(path, fake.word())
        return path

    def paragraph_with_salt(self, salt, seperator = ' '):
        _text = [fake.text(max_nb_chars=100) for _ in range(3)]
        paragraph = salt + _text
        random.shuffle(paragraph)
        return seperator.join(paragraph)

fake.add_provider(CrazyProvider)
