Stubs can't have sub factories #131

Closed
thedrow opened this Issue Feb 5, 2014 · 1 comment

Comments

Projects
None yet
1 participant
@thedrow

thedrow commented Feb 5, 2014

Testcase:

class StubA(StubFactory):
  name = 'omer'

class StubB(StubFactory):
  stub_a = SubFactory(StubA)

StubB.stub()

This raises UnsupportedStrategy.

@rbarrois rbarrois closed this in a456a9e Mar 26, 2015

@thedrow

This comment has been minimized.

Show comment
Hide comment

thedrow commented Mar 26, 2015

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment