Comment 1 for bug 943131

Revision history for this message
Yonggang Luo (luoyonggang) wrote :

The test result by apply the patch unitest-win32

Running unittest without install.
.E..E..............................................................E.................................FF.......F...............................F.F..E..
..................
======================================================================
ERROR: test_add_recursive (subvertpy.tests.test_client.TestClient)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "build\lib.win32-2.7\subvertpy\tests\test_client.py", line 95, in test_add_recursive
    e = adm.entry(os.path.join(os.getcwd(), "dc", "trunk"))
KeyError: "No such entry 'c:\\users\\dreamkxd\\appdata\\local\\temp\\tmpjq6s9p\\dc\\trunk'"

======================================================================
ERROR: test_diff (subvertpy.tests.test_client.TestClient)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "build\lib.win32-2.7\subvertpy\tests\test_client.py", line 123, in test_diff
    (outf, errf) = self.client.diff(1, 2, self.repos_url, self.repos_url)
OSError: [Errno 13] Permission denied

======================================================================
ERROR: test_time_from_cstring_independent_from_dst (subvertpy.tests.test_properties.TestProperties)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "build\lib.win32-2.7\subvertpy\tests\test_properties.py", line 44, in test_time_from_cstring_independent_from_dst
    time.tzset()
AttributeError: 'module' object has no attribute 'tzset'

======================================================================
ERROR: test_probe_try (subvertpy.tests.test_wc.AdmTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "build\lib.win32-2.7\subvertpy\tests\test_wc.py", line 300, in test_probe_try
    self.assertEquals("checkout", adm.probe_try(os.path.join("checkout", "bar")).access_path())
AttributeError: 'NoneType' object has no attribute 'access_path'

======================================================================
FAIL: test_get_repos_root (subvertpy.tests.test_ra.TestRemoteAccess)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "build\lib.win32-2.7\subvertpy\tests\test_ra.py", line 83, in test_get_repos_root
    self.assertEqual(self.repos_url, self.ra.get_repos_root())
AssertionError: 'file:///c:/users/dreamkxd/appdata/local/temp/tmpfzgvfs/d' != 'file:///C:/users/dreamkxd/appdata/local/temp/tmpfzgvfs/d'

======================================================================
FAIL: test_get_url (subvertpy.tests.test_ra.TestRemoteAccess)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "build\lib.win32-2.7\subvertpy\tests\test_ra.py", line 89, in test_get_url
    self.assertEqual(self.repos_url, self.ra.get_url())
AssertionError: 'file:///c:/users/dreamkxd/appdata/local/temp/tmpbzkesw/d' != 'file:///C:/users/dreamkxd/appdata/local/temp/tmpbzkesw/d'

======================================================================
FAIL: test_repr (subvertpy.tests.test_ra.TestRemoteAccess)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "build\lib.win32-2.7\subvertpy\tests\test_ra.py", line 70, in test_repr
    repr(self.ra))
AssertionError: 'RemoteAccess("file:///c:/users/dreamkxd/appdata/local/temp/tmp_h4dka/d")' != 'RemoteAccess("file:///C:/users/dreamkxd/appdata/local/t
emp/tmp_h4dka/d")'

======================================================================
FAIL: test_get_ancestry (subvertpy.tests.test_wc.AdmTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "build\lib.win32-2.7\subvertpy\tests\test_wc.py", line 106, in test_get_ancestry
    self.assertEquals(("%s/bar" % repos_url, 0), adm.get_ancestry("checkout/bar"))
AssertionError: Tuples differ: ('file:///c:/users/dreamkxd/ap... != ('file:///C:/users/dreamkxd/ap...

First differing element 0:
file:///c:/users/dreamkxd/appdata/local/temp/tmp54efar/repos/bar
file:///C:/users/dreamkxd/appdata/local/temp/tmp54efar/repos/bar

- ('file:///c:/users/dreamkxd/appdata/local/temp/tmp54efar/repos/bar', 0)
? ^

+ ('file:///C:/users/dreamkxd/appdata/local/temp/tmp54efar/repos/bar', 0)
? ^

======================================================================
FAIL: test_is_wc_root (subvertpy.tests.test_wc.AdmTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "build\lib.win32-2.7\subvertpy\tests\test_wc.py", line 226, in test_is_wc_root
    self.assertFalse(adm.is_wc_root(os.path.join(self.test_dir, "bar")))
AssertionError: True is not false

----------------------------------------------------------------------
Ran 168 tests in 34.615s

FAILED (failures=5, errors=4)

D:\CI\bld\vcs>