def testGetFileAndDirName(self):
    (f, d) = unpack_pak.GetFileAndDirName(
        'out/build/gen/foo/foo.unpak', 'out/build/gen/foo', 'a/b.js')
    self.assertEquals('b.js', f)
    self.assertEquals('out/build/gen/foo/foo.unpak/a', d)