Define logger in upgrade_crc_check_chance_test.py#25
Closed
cclauss wants to merge 1 commit intoapache:masterfrom
Closed
Define logger in upgrade_crc_check_chance_test.py#25cclauss wants to merge 1 commit intoapache:masterfrom
cclauss wants to merge 1 commit intoapache:masterfrom
Conversation
Resolves _undefined names_ on lines 105, 111, 127, 132, 135, 137, 140, 145, and 147 flake8 testing of https://github.com/apache/cassandra-dtest on Python 3.6.3 $ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__ ``` ./auth_join_ring_false_test.py:188:13: F821 undefined name 'assert_regexp_matches' assert_regexp_matches(repr(cm._excinfo[1]), message) ^ ./upgrade_crc_check_chance_test.py:101:9: F821 undefined name 'logger' logger.debug('Test completed successfully') ^ ./upgrade_crc_check_chance_test.py:107:9: F821 undefined name 'logger' logger.debug(meta.options['compression_parameters']) ^ ./upgrade_crc_check_chance_test.py:123:9: F821 undefined name 'logger' logger.debug('Upgrading node {node} to {tag}'.format(**format_args)) ^ ./upgrade_crc_check_chance_test.py:128:9: F821 undefined name 'logger' logger.debug('{node} stopped'.format(**format_args)) ^ ./upgrade_crc_check_chance_test.py:131:9: F821 undefined name 'logger' logger.debug('Updating version to tag {tag}'.format(**format_args)) ^ ./upgrade_crc_check_chance_test.py:133:9: F821 undefined name 'logger' logger.debug('Set new cassandra dir for {node}: {tag}'.format(**format_args)) ^ ./upgrade_crc_check_chance_test.py:136:9: F821 undefined name 'logger' logger.debug('Starting {node} on new version ({tag})'.format(**format_args)) ^ ./upgrade_crc_check_chance_test.py:141:9: F821 undefined name 'logger' logger.debug('Running upgradesstables') ^ ./upgrade_crc_check_chance_test.py:143:9: F821 undefined name 'logger' logger.debug('Upgrade of {node} complete'.format(**format_args)) ^ 10 F821 undefined name 'assert_regexp_matches' 10 ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves undefined names on lines 105, 111, 127, 132, 135, 137, 140, 145, and 147
flake8 testing of https://github.com/apache/cassandra-dtest on Python 3.6.3
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics