Fixed new pylint warnings.

use generator in any/all()
disable not-callable warnings
disable no-member warnings
Suppressed smaller pylint warnings
Pin edx-proctoring==3.5.0
This commit is contained in:
usamasadiq
2021-02-22 12:42:26 +05:00
parent 23d87e253f
commit 96f0915b0f
44 changed files with 73 additions and 86 deletions

View File

@@ -69,7 +69,7 @@ class TestGenerateCourseBlocks(ModuleStoreTestCase):
"""
Asserts that the logger was called with the given message.
"""
message_present = any([message in call_args[0][0] for call_args in mock_log.warning.call_args_list])
message_present = any(message in call_args[0][0] for call_args in mock_log.warning.call_args_list)
if expected_presence:
assert message_present
else: