From 1f870a0e1456a862adab2c6a0e1987f0bda120f1 Mon Sep 17 00:00:00 2001 From: richard Date: Sun, 29 Jul 2001 23:32:13 +0000 Subject: [PATCH] Fixed bug in unit test ;) git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@140 57a73879-2fb5-44c3-a270-3262357dd7e2 --- test/test_dates.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/test_dates.py b/test/test_dates.py index f38ffe2..c9af17c 100644 --- a/test/test_dates.py +++ b/test/test_dates.py @@ -1,4 +1,4 @@ -# $Id: test_dates.py,v 1.3 2001-07-29 07:01:39 richard Exp $ +# $Id: test_dates.py,v 1.4 2001-07-29 23:32:13 richard Exp $ import unittest, time @@ -55,7 +55,7 @@ class DateTestCase(unittest.TestCase): ae(str(Interval('3y')), '+ 3y') ae(str(Interval('2 y 1 m')), '+ 2y 1m') ae(str(Interval('1m 25d')), '+ 1m 25d') - ae(str(Interval('-2w 3 d ')), '- 1 7d') + ae(str(Interval('-2w 3 d ')), '- 17d') ae(str(Interval(' - 1 d 2:50 ')), '- 1d 2:50') ae(str(Interval(' 14:00 ')), '+ 14:00') ae(str(Interval(' 0:04:33 ')), '+ 0:04:33') @@ -66,6 +66,9 @@ def suite(): # # $Log: not supported by cvs2svn $ +# Revision 1.3 2001/07/29 07:01:39 richard +# Added vim command to all source so that we don't get no steenkin' tabs :) +# # Revision 1.2 2001/07/29 06:42:20 richard # Added Interval tests. # -- 2.30.2