summaryrefslogtreecommitdiff
path: root/tests/message
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2020-04-20 14:30:32 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2020-04-20 21:58:08 +0200
commit7f2b98acdd5e0d69bb662af751cfe16550b2697f (patch)
tree395c7e0647853d986563d77746e26564de66fb29 /tests/message
parent20d41aef7dac4305468b81872df9f44830ecb8d9 (diff)
downloadpylint-git-7f2b98acdd5e0d69bb662af751cfe16550b2697f.tar.gz
Get rid of a bunch of yoda conditions in tests (misplaced-comparison-constant)
Diffstat (limited to 'tests/message')
-rw-r--r--tests/message/unittest_message_definition_store.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/message/unittest_message_definition_store.py b/tests/message/unittest_message_definition_store.py
index 28acc5930..122911f85 100644
--- a/tests/message/unittest_message_definition_store.py
+++ b/tests/message/unittest_message_definition_store.py
@@ -230,8 +230,8 @@ class TestMessageDefinitionStore:
assert ":msg-symbol (W1234): *message*" in output.getvalue()
def test_renamed_message_register(self, store):
- assert "msg-symbol" == store.get_message_definitions("W0001")[0].symbol
- assert "msg-symbol" == store.get_message_definitions("old-symbol")[0].symbol
+ assert store.get_message_definitions("W0001")[0].symbol == "msg-symbol"
+ assert store.get_message_definitions("old-symbol")[0].symbol == "msg-symbol"
def test_multiple_child_of_old_name(store):