~ci-train-bot/syncevolution/syncevolution-ubuntu-yakkety-landing-042

Viewing all changes in revision 4618.

  • Committer: Patrick Ohly
  • Date: 2015-03-03 09:15:44 UTC
  • Revision ID: git-v1:a8e39070d6f3e8a49aa9d8cccd1d77c8d5ebc403
testing: relax SyncEvo::IcalTest::testTimezone

The test started to fail in 2015 because the VTIMEZONE generated by
the code copied from libical has a minor dependency on the current
time: it finds the transitions for the current year, then pretends
that the same rule applied since 1970. While doing that, it uses this
years transition date and just replaces the year. Because the exact
date varies between years, the result depends on the current year.

The test now simply ignores the day of the month, while still checking
year and month. Those should always be the same.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: