def test_HashFilename(self): # Tests that _HashFilename function works for both string and unicode # filenames (without raising any Unicode encode/decode errors). _HashFilename('file1') _HashFilename(u'file1')