Update of /cvsroot/webware/Webware/MiddleKit/Tests/MKDateTime.mkmodel
In directory sc8-pr-cvs1:/tmp/cvs-serv2979/Tests/MKDateTime.mkmodel
Modified Files:
TestSamples.py
Log Message:
- fix the MS SQL Server connection code
- fix the DateTime test suite for MS SQL
Index: TestSamples.py
===================================================================
RCS file: /cvsroot/webware/Webware/MiddleKit/Tests/MKDateTime.mkmodel/TestSamples.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** TestSamples.py 3 May 2002 14:26:29 -0000 1.3
--- TestSamples.py 15 Dec 2003 04:36:31 -0000 1.4
***************
*** 19,22 ****
print 'Testing with strings.'
assert f.d()==d, 'f.d()=%s, d=%s' % (f.d(), d)
! assert f.t()==t, 'f.t()=%s, t=%s' % (f.t(), t)
assert f.dt()==dt, 'f.dt()=%s, dt=%s' % (f.dt(), dt)
--- 19,22 ----
print 'Testing with strings.'
assert f.d()==d, 'f.d()=%s, d=%s' % (f.d(), d)
! assert f.t()==store.filterDateTimeDelta(t), 'f.t()=%s, t=%s' % (f.t(), t)
assert f.dt()==dt, 'f.dt()=%s, dt=%s' % (f.dt(), dt)
|