def test_successfully_encrypts_decrypts_strings_up_to_100_characters(self):
        for i in range(1, 101):
            string = ''.join([chr(random.randint(33, 126)) for _ in range(0, i)])

            assert blowfish._decrypt(
                blowfish._encrypt(string, self.password),
                self.password
            ) == string
    def test_successfully_decrypts_a_string(self):
        ciphertext = blowfish._encrypt('secret', self.password)

        assert blowfish._decrypt(ciphertext, self.password) == 'secret'