'If passed a single fingerprint as a string, encrypt should
correctly place that string in a list, and encryption/
decryption should work as intended.'

def test_encrypt_fingerprints_not_a_list_or_tuple(self):

    (source, codename) = utils.db_helper.init_source()
    message = str(os.urandom(1))
    ciphertext = crypto_util.encrypt(message, crypto_util.getkey(source.filesystem_id), store.path(source.filesystem_id, 'somefile.gpg'))
    plaintext = crypto_util.decrypt(codename, ciphertext)
    self.assertEqual(message, plaintext)
