/[Apache-SVN]
ViewVC logotype

Revision 1482554


Jump to revision: Previous Next
Author: breser
Date: Tue May 14 20:13:13 2013 UTC (11 years, 6 months ago)
Changed paths: 1
Log Message:
Make ctypes-python tests pass regardless of timezone.

SvnDate.as_human_string() calls svn_time_to_human_cstring() which provides the
date as a string in the local timezone.  The test was hardcoded to assume the
local timezone was UTC.  Making an exact match against the string would
essentially require a reimplementation of the C function, so just use a regexp
to match that we're getting something in the right format.

* subversion/bindings/ctypes-python/test/svntypes.py
  (test_as_human_string): Use a regexp to validate the function works.


Changed paths

Path Details
Directorysubversion/trunk/subversion/bindings/ctypes-python/test/svntypes.py modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26