| Conditions | 2 |
| Total Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | from django.conf import settings |
||
| 21 | @override_settings( |
||
| 22 | DJOSER=dict(settings.DJOSER, **{'USERNAME_UPDATE_REQUIRE_RETYPE': True}) |
||
| 23 | ) |
||
| 24 | def test_djoser_simple_setting_overriden(): |
||
| 25 | from djoser.conf import settings as djoser_settings |
||
| 26 | assert djoser_settings.USERNAME_UPDATE_REQUIRE_RETYPE |
||
| 27 | |||
| 35 |
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.