Permalink
Browse files

Fixed failing tests.

  • Loading branch information...
1 parent 777ffcf commit 10f988aa48d22b9911c8ad12180783647cebf2ee @sirex sirex committed May 10, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 mockups/factory.py
View
@@ -91,6 +91,7 @@ def get_generator(self, field, **kwargs):
for cls in field.__class__.__mro__:
if cls in self.fieldclass_to_generator:
obj = self.fieldclass_to_generator.get(cls)
+ break
else:
return None # No matching generator found

0 comments on commit 10f988a

Please sign in to comment.