| Conditions | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | # -*- coding: utf-8 -*- |
||
| 32 | def test_null_password(self): |
||
| 33 | # Check bug #70 fixed |
||
| 34 | # http://tracim.org/workspaces/4/folders/5/threads/70 |
||
| 35 | |||
| 36 | name = 'Damien' |
||
| 37 | email = '[email protected]' |
||
| 38 | |||
| 39 | user = User() |
||
| 40 | user.display_name = name |
||
| 41 | user.email = email |
||
| 42 | |||
| 43 | eq_(False, user.validate_password(None)) |
||
| 44 |
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.