Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed failing tests.

  • Loading branch information...
commit 10f988aa48d22b9911c8ad12180783647cebf2ee 1 parent 777ffcf
@sirex sirex authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  mockups/factory.py
View
1  mockups/factory.py
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.