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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user