Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
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
@jeanphix jeanphix authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 tests/base.py
View
5 tests/base.py
@@ -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():
@classmethod

0 comments on commit 0fd85e4

Please sign in to comment.
Something went wrong with that request. Please try again.