'Make sure that invoking ZipArchive\'s repr prints the correct class
name and an absolute path to the zip file.'

def test_zipArchiveRepr(self):

    path = ZipArchive((self.nativecmn + '.zip'))
    pathRepr = ('ZipArchive(%r)' % (os.path.abspath((self.nativecmn + '.zip')),))
    self.assertEqual(repr(path), pathRepr)
    relativeCommon = (self.nativecmn.replace((os.getcwd() + os.sep), '', 1) + '.zip')
    relpath = ZipArchive(relativeCommon)
    self.assertEqual(repr(relpath), pathRepr)
