Skip to content

Commit

Permalink
Issue 212: Added unit test. Was already fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkleehammer committed Dec 18, 2011
1 parent d30bcd3 commit 42be665
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests2/freetdstests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down

0 comments on commit 42be665

Please sign in to comment.