Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adds a test case to insure Distillery.bulk() handles non str or unico…

…de values
  • Loading branch information...
commit 0fd85e4df27a9b7437a40be51dd0d695abef937a 1 parent bd83c4b
jean-philippe serafin jeanphix authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 tests/
5 tests/
@@ -80,6 +80,11 @@ def test_bulk_insert_default(self):
self.assertEqual(len(users), 1)
self.assertEqual(users[0].username, 'defaultuser')
+ def test_bulk_insert_non_string(self):
+ company = self.CompanyDistillery.create(name='another company')
+ users = self.UserDistillery.bulk(1, company=company)
+ self.assertEqual(users[0].company, company)
class SetSuite():
Please sign in to comment.
Something went wrong with that request. Please try again.