pytest-factoryboy icon indicating copy to clipboard operation
pytest-factoryboy copied to clipboard

Fix tests/test_postgen_dependencies::test_postgen_related

Open youtux opened this issue 3 years ago • 0 comments

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.

youtux avatar May 13 '22 18:05 youtux