File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ def test_by_is_set_when_passed_into_transition(article, user):
4646 log = StateLog .objects .all ()[0 ]
4747 assert user == log .by
4848 with pytest .raises (AttributeError ):
49- article .__django_fsm_log_attr_by
49+ article .__django_fsm_log_attr_by # noqa: B018
5050
5151
5252def test_by_is_none_when_not_set_in_transition (article ):
@@ -63,7 +63,7 @@ def test_description_is_set_when_passed_into_transition(article):
6363 log = StateLog .objects .all ()[0 ]
6464 assert description == log .description
6565 with pytest .raises (AttributeError ):
66- article .__django_fsm_log_attr_description
66+ article .__django_fsm_log_attr_description # noqa: B018
6767
6868
6969def test_description_is_none_when_not_set_in_transition (article ):
@@ -80,7 +80,7 @@ def test_description_can_be_mutated_by_the_transition(article):
8080 log = StateLog .objects .all ()[0 ]
8181 assert description == log .description
8282 with pytest .raises (AttributeError ):
83- article .__django_fsm_log_attr_description
83+ article .__django_fsm_log_attr_description # noqa: B018
8484
8585
8686def test_default_description (article ):
You can’t perform that action at this time.
0 commit comments