Adjust flake8 ...
... to not complain about implementation details when testing.
This commit is contained in:
parent
776112d609
commit
992d2bb7d4
4 changed files with 7 additions and 5 deletions
|
|
@ -110,7 +110,7 @@ class TestProperties:
|
|||
|
||||
def test_is_primary(self, address):
|
||||
"""Test `Address.is_primary` property."""
|
||||
assert address.id == address._primary_id # noqa:WPS437
|
||||
assert address.id == address._primary_id
|
||||
|
||||
result = address.is_primary
|
||||
|
||||
|
|
@ -118,7 +118,7 @@ class TestProperties:
|
|||
|
||||
def test_is_not_primary(self, address):
|
||||
"""Test `Address.is_primary` property."""
|
||||
address._primary_id = 999 # noqa:WPS437
|
||||
address._primary_id = 999
|
||||
|
||||
result = address.is_primary
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue