Skip to content

Commit 84ba5df

Browse files
committed
Merge pull request #101 from tvincentNuoDB/master
Enabled test_date_types after fixing timezone handling in get / put Scaled Time
2 parents 4150a44 + c1e90ef commit 84ba5df

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/nuodb_basic_test.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -510,8 +510,7 @@ def DISABLE_DB10321test_date_types_softly(self):
510510
con.close()
511511

512512
def test_date_types(self):
513-
# Disabled until [DB-2251] gets fixed.
514-
return None
513+
515514
con = self._connect()
516515
cursor = con.cursor()
517516
cursor.execute("drop table typetest if exists")
@@ -557,8 +556,8 @@ def test_date_types(self):
557556
self.assertEqual(row[3].year, test_vals[2].year)
558557
self.assertEqual(row[3].month, test_vals[2].month)
559558
self.assertEqual(row[3].day, test_vals[2].day)
560-
# Disabled DB-5497
561-
# self.assertEqual(row[3].hour, test_vals[2].hour)
559+
560+
self.assertEqual(row[3].hour, test_vals[2].hour)
562561
self.assertEqual(row[3].minute, test_vals[2].minute)
563562
self.assertEqual(row[3].second, test_vals[2].second)
564563
self.assertEqual(row[3].microsecond, test_vals[2].microsecond)

0 commit comments

Comments
 (0)