#93: time zones make tests.darcs..testOnTailorOwnRepo fail
---------------------+------------------------------------------------------
Reporter: keturn | Owner: lele
Type: defect | Status: new
Priority: major | Milestone:
Component: darcs | Version:
Resolution: | Keywords: tests
---------------------+------------------------------------------------------
Old description:
> I did 'tailor test darcs', and it told me this:
> {{{
> FAIL: Verify fetching unidiff of a darcs patch
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/home/kevint/src/tailor/vcpx/tests/darcs.py", line 98, in
> testOnTailorOwnRepo
> self.assertEqual(head, 'Thu Jun 9 22:17:11 CEST 2005
> [EMAIL PROTECTED]')
> AssertionError: 'Thu Jun 9 13:17:11 PDT 2005 [EMAIL PROTECTED]' != 'Thu
> Jun 9 22:17:11 CEST 2005 [EMAIL PROTECTED]'
> }}}
>
> So then I tried this:
> {{{$ TZ=CEST ./tailor test darcs
> .......F.
> ======================================================================
> FAIL: Verify fetching unidiff of a darcs patch
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/home/kevint/src/tailor/vcpx/tests/darcs.py", line 98, in
> testOnTailorOwnRepo
> self.assertEqual(head, 'Thu Jun 9 22:17:11 CEST 2005
> [EMAIL PROTECTED]')
> AssertionError: 'Thu Jun 9 20:17:11 CEST 2005 [EMAIL PROTECTED]' != 'Thu
> Jun 9 22:17:11 CEST 2005 [EMAIL PROTECTED]'
> }}}
New description:
I did 'tailor test darcs', and it told me this:
{{{
FAIL: Verify fetching unidiff of a darcs patch
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/kevint/src/tailor/vcpx/tests/darcs.py", line 98, in
testOnTailorOwnRepo
self.assertEqual(head, 'Thu Jun 9 22:17:11 CEST 2005
[EMAIL PROTECTED]')
AssertionError: 'Thu Jun 9 13:17:11 PDT 2005 [EMAIL PROTECTED]' != 'Thu
Jun 9 22:17:11 CEST 2005 [EMAIL PROTECTED]'
}}}
So then I tried this:
{{{
$ TZ=CEST ./tailor test darcs
.......F.
======================================================================
FAIL: Verify fetching unidiff of a darcs patch
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/kevint/src/tailor/vcpx/tests/darcs.py", line 98, in
testOnTailorOwnRepo
self.assertEqual(head, 'Thu Jun 9 22:17:11 CEST 2005
[EMAIL PROTECTED]')
AssertionError: 'Thu Jun 9 20:17:11 CEST 2005 [EMAIL PROTECTED]' != 'Thu
Jun 9 22:17:11 CEST 2005 [EMAIL PROTECTED]'
}}}
Comment (by lele):
Should be fixed in [1314], even if it still fails on partial repository.
--
Ticket URL: <http://progetti.arstecnica.it/tailor/ticket/93#comment:1>
Tailor <http://progetti.arstecnica.it/tailor>
An inter-VCs changeset exchanger_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor