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

MockOptions, get_or_create_with defaults #36

Merged
merged 2 commits into from
Mar 5, 2017

Commits on Mar 3, 2017

  1. MockOptions, get_or_create_with defaults

    get_or_create() and create() now requires MockSet to have 'cls' and 'model' attributes being not None
    MockSet() now has cls=MockModel as default cls
    szykin committed Mar 3, 2017
    Configuration menu
    Copy the full SHA
    7f64355 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2017

  1. Remove redundant 'cls' from MockSet.

    create() now fills MockModel fields with None by default.
    Updated some of the tests.
    szykin committed Mar 4, 2017
    Configuration menu
    Copy the full SHA
    adeaf4f View commit details
    Browse the repository at this point in the history