Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests/test_postgen_dependencies::test_postgen_related #157

Open
youtux opened this issue May 13, 2022 · 0 comments
Open

Fix tests/test_postgen_dependencies::test_postgen_related #157

youtux opened this issue May 13, 2022 · 0 comments

Comments

@youtux
Copy link
Contributor

youtux commented May 13, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant