Permalink
Browse files

Issue 212: Added unit test. Was already fixed.

  • Loading branch information...
mkleehammer committed Dec 18, 2011
1 parent d30bcd3 commit 42be665b153698ebfa7bc8b2a17328d4def82595
Showing with 5 additions and 0 deletions.
  1. +5 −0 tests2/freetdstests.py
View
@@ -300,6 +300,11 @@ def test_unicode_longmax(self):
return # so pass / ignore
self.cursor.execute("select cast(replicate(N'x', 512) as nvarchar(max))")
+ def test_unicode_bind(self):
+ value = u'test'
+ v = self.cursor.execute("select ?", value).fetchone()[0]
+ self.assertEqual(value, v)
+
#
# binary
#

0 comments on commit 42be665

Please sign in to comment.