You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2014/05/15 11:14:06 UTC

svn commit: r1594834 - /subversion/trunk/subversion/bindings/swig/python/tests/client.py

Author: rhuijben
Date: Thu May 15 09:14:06 2014
New Revision: 1594834

URL: http://svn.apache.org/r1594834
Log:
* subversion/bindings/swig/python/tests/client.py
  (test_update4): Following up on r1594814, fix a second set of expected paths.

Modified:
    subversion/trunk/subversion/bindings/swig/python/tests/client.py

Modified: subversion/trunk/subversion/bindings/swig/python/tests/client.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/python/tests/client.py?rev=1594834&r1=1594833&r2=1594834&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/swig/python/tests/client.py (original)
+++ subversion/trunk/subversion/bindings/swig/python/tests/client.py Thu May 15 09:14:06 2014
@@ -473,7 +473,7 @@ class SubversionClientTestCase(unittest.
     # All normal subversion apis process paths in Subversion's canonical format,
     # which isn't the platform specific format
     expected_paths = [x.replace(os.path.sep, '/') for x in expected_paths]
-    
+
     self.assertEquals(self.notified_paths, expected_paths)
 
     def notify_func2(notify, pool):
@@ -483,15 +483,17 @@ class SubversionClientTestCase(unittest.
     self.client_ctx.notify_baton2 = notify_func2
     rev.value.number = 2
     self.notified_paths = []
+    expected_paths = [
+        path,
+        os.path.join(path, 'trunk', 'README.txt'),
+        os.path.join(path, 'trunk'),
+        path,
+        path
+    ]
+    expected_paths = [x.replace(os.path.sep, '/') for x in expected_paths]
     client.update4((path,), rev, core.svn_depth_unknown, True, False, False,
                    False, False, self.client_ctx)
-    self.assertEquals(self.notified_paths,
-                      [  path,
-                         os.path.join(path, 'trunk', 'README.txt'),
-                         os.path.join(path, 'trunk'),
-                         path,
-                         path
-                      ])
+    self.assertEquals(self.notified_paths, expected_paths)
 
 
 def suite():