pytest-factoryboy
pytest-factoryboy copied to clipboard
Fix tests/test_postgen_dependencies::test_postgen_related
The test is currently marked as xfailed because we never asserted that functionality, but it should pass instead. Basically:
class FooFactory:
baz = factory.RelatedFactory(BazFactory, "foo")
does not set the baz.foo attribute to the foo created.