Bump pytest-factoryboy from 2.0.3 to 2.5.0 in /backend
⚠️ Dependabot is rebasing this PR ⚠️
Rebasing might not happen immediately, so don't worry if this takes some time.
Note: if you make any changes to this PR yourself, they will take precedence over the rebase.
Bumps pytest-factoryboy from 2.0.3 to 2.5.0.
Changelog
Sourced from pytest-factoryboy's changelog.
2.5.0
- Using a generic class container like
dict,list,set, etc. will raise a warning suggesting you to wrap your model usingnamed_model(...). Doing this will make sure that the fixture name is correctly chosen, otherwise SubFactory and RelatedFactory aren't able to determine the name of the model. SeeGeneric Container Classes as models <https://pytest-factoryboy.readthedocs.io/en/latest/#generic-container-classes-as-models>_[#167](https://github.com/pytest-dev/pytest-factoryboy/issues/167) <https://github.com/pytest-dev/pytest-factoryboy/pull/167>_- Fix
Factory._after_postgenerationbeing invoked twice.[#164](https://github.com/pytest-dev/pytest-factoryboy/issues/164) <https://github.com/pytest-dev/pytest-factoryboy/pull/164>_[#156](https://github.com/pytest-dev/pytest-factoryboy/issues/156) <https://github.com/pytest-dev/pytest-factoryboy/issues/156>_- Stack traces caused by pytest-factoryboy are now slimmer.
[#169](https://github.com/pytest-dev/pytest-factoryboy/issues/169) <https://github.com/pytest-dev/pytest-factoryboy/pull/169>_- Check for naming conflicts between factory and model fixture name, and raise a clear error immediately.
[#86](https://github.com/pytest-dev/pytest-factoryboy/issues/86) <https://github.com/pytest-dev/pytest-factoryboy/pull/86>_2.4.0
LazyFixtureis now a Generic[T] type.- Simplify fixture generation (internal change).
- Use poetry (internal change).
2.3.1
- Fix AttributeError when using LazyFixture in register(...)
[#159](https://github.com/pytest-dev/pytest-factoryboy/issues/159) <https://github.com/pytest-dev/pytest-factoryboy/issues/159>_[#158](https://github.com/pytest-dev/pytest-factoryboy/issues/158) <https://github.com/pytest-dev/pytest-factoryboy/issues/158>_2.3.0
- Add support for
factory.PostGenerationMethodCall[#103](https://github.com/pytest-dev/pytest-factoryboy/issues/103) <https://github.com/pytest-dev/pytest-factoryboy/pull/103>_[#87](https://github.com/pytest-dev/pytest-factoryboy/issues/87) <https://github.com/pytest-dev/pytest-factoryboy/issues/87>_.2.2.1
@register()decorator now refuses kwargs after the initial specialization. This behaviour was mistakenly introduced in version 2.2.0, and it complicates the usage of theregisterfunction unnecessarily. For example, the following is not allowed anymore:.. code-block:: python
# INVALID register( _name="second_author", name="C.S. Lewis", )( AuthorFactory, register_user="cs_lewis", register_user__password="Aslan1", )VALID
register( AuthorFactory, _name="second_author", name="C.S. Lewis", register_user="cs_lewis", register_user__password="Aslan1", )
2.2.0
... (truncated)
Commits
78844d9Bump version 2.5.0767e384Update deps497557dFix typingda70476Merge pull request #169 from pytest-dev/ab-slim-stacktrace626fac1Create LICENSE.md8c52cb6Merge remote-tracking branch 'origin/master' into ab-slim-stacktrace034f17cTypeVar for Box has to be covariant59050f7Add changelog entry for #8663faf21Add changelog entrye79a64cWrap thecaller_localsin a Box object, so that stack traces are shorter- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated |
|---|---|---|---|---|
| pycon | ❌ Failed (Inspect) | Nov 20, 2022 at 5:29PM (UTC) |
1 Ignored Deployment
| Name | Status | Preview | Comments | Updated |
|---|---|---|---|---|
| association-frontend | ⬜️ Ignored (Inspect) | Nov 20, 2022 at 5:29PM (UTC) |
Codecov Report
Merging #2894 (d1a3aa7) into main (21166a1) will decrease coverage by
1.03%. The diff coverage is94.70%.
Additional details and impacted files
@@ Coverage Diff @@
## main #2894 +/- ##
==========================================
- Coverage 92.69% 91.66% -1.04%
==========================================
Files 116 147 +31
Lines 2574 4031 +1457
Branches 247 415 +168
==========================================
+ Hits 2386 3695 +1309
- Misses 174 301 +127
- Partials 14 35 +21
Superseded by #3147.