'If the key, host salt, or host hash portion of a hashed entry is not
encoded, it will raise L{BinasciiError}.'

def test_hashedNotBase64(self):

    self.notBase64Test(HashedEntry)
    (a, b, c) = sampleHashedLine.split()
    self.assertRaises(BinasciiError, HashedEntry.fromString, '    '.join([('|1|x|' + b2a_base64('stuff').strip()), b, c]))
    self.assertRaises(BinasciiError, HashedEntry.fromString, '    '.join([((HashedEntry.MAGIC + b2a_base64('stuff').strip()) + '|x'), b, c]))
    self.assertRaises(BinasciiError, HashedEntry.fromString, '    '.join(['|1|x|x', b, c]))
