Skip to content

Conversation

@jnewbery
Copy link
Contributor

@jnewbery jnewbery commented May 1, 2018

Fixes flake8 warnings in several wallet functional tests.

Several wallet functional tests need rewrite to remove the accounts API (#13075). To prepare for that, I fixed all the flake8 warnings in those tests.

#13075 is blocked on a bitcoind bug. This PR is just the flake8 fixes so we're not completely blocked.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you add a space here, then make it consistently for the second kv as well

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

@maflcko
Copy link
Member

maflcko commented May 1, 2018

utACK 5ec11f44f322be851746903578bd5224b9807e51. I am not aware of any significant pull request that would conflict due to this, so it seems fine.

Copy link
Contributor

@ryanofsky ryanofsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 5ec11f44f322be851746903578bd5224b9807e51

This commit fixes flake8 warnings in the following functional tests:

- wallet_listreceivedby.py
- wallet_basic.py
- wallet_txn_clone.py
- wallet_listsinceblock.py
- wallet_import_rescan.py
- wallet_listtransactions.py
- wallet_importprunedfunds.py
- wallet_txn_doublspend.py
@jnewbery jnewbery force-pushed the wallet_test_flake8 branch from 5ec11f4 to a533834 Compare May 1, 2018 15:30
@jnewbery
Copy link
Contributor Author

jnewbery commented May 1, 2018

@MarcoFalke - addressed your comments. I've also fixed a couple of variable names which I somehow missed before.

@ryanofsky - Thanks for the quick review. git diff 5ec11f4 a533834d should be minimal

@maflcko
Copy link
Member

maflcko commented May 1, 2018

re-utACK a533834

Copy link
Contributor

@ryanofsky ryanofsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK a533834

@maflcko
Copy link
Member

maflcko commented May 1, 2018

Note that this is no longer [trivial] since you change variable names and remove assignments...

@maflcko maflcko changed the title [trivial] [tests] Fix flake8 warnings in several wallet functional tests [tests] Fix flake8 warnings in several wallet functional tests May 1, 2018
@maflcko maflcko merged commit a533834 into bitcoin:master May 1, 2018
maflcko pushed a commit that referenced this pull request May 1, 2018
…l tests

a533834 [tests] Fix flake8 warnings in several wallet functional tests (John Newbery)

Pull request description:

  Fixes flake8 warnings in several wallet functional tests.

  Several wallet functional tests need rewrite to remove the accounts API (#13075). To prepare for that, I fixed all the flake8 warnings in those tests.

  #13075 is blocked on a bitcoind bug. This PR is just the flake8 fixes so we're not completely blocked.

Tree-SHA512: 2dc1d589b2f8f4318083a681e487532d0f8f3d57e8bc8f37b660b728ffc33329b88e9251eb223104aea89f293c3f4074ca700fe690e645617326b859da3e93c3
@jnewbery jnewbery deleted the wallet_test_flake8 branch May 1, 2018 17:14
jasonbcox pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Oct 1, 2020
Summary:
Note: This backport apparently was skipped due to being (mostly) irrelevant changes that our linter takes care of anyway. But there was one line of code changed on wallet_basic and a few variable name changes that are being a pain, so I'm bringing in the relevant parts.

Backport of Core [[bitcoin/bitcoin#13136 | PR13136]] (hiding whitespace changes makes this easier)

Test Plan:
  ninja all check check-functional

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D7716
UdjinM6 pushed a commit to UdjinM6/dash that referenced this pull request May 25, 2021
…nctional tests

a533834 [tests] Fix flake8 warnings in several wallet functional tests (John Newbery)

Pull request description:

  Fixes flake8 warnings in several wallet functional tests.

  Several wallet functional tests need rewrite to remove the accounts API (bitcoin#13075). To prepare for that, I fixed all the flake8 warnings in those tests.

  bitcoin#13075 is blocked on a bitcoind bug. This PR is just the flake8 fixes so we're not completely blocked.

Tree-SHA512: 2dc1d589b2f8f4318083a681e487532d0f8f3d57e8bc8f37b660b728ffc33329b88e9251eb223104aea89f293c3f4074ca700fe690e645617326b859da3e93c3
TheArbitrator pushed a commit to TheArbitrator/dash that referenced this pull request Jun 4, 2021
…nctional tests

a533834 [tests] Fix flake8 warnings in several wallet functional tests (John Newbery)

Pull request description:

  Fixes flake8 warnings in several wallet functional tests.

  Several wallet functional tests need rewrite to remove the accounts API (bitcoin#13075). To prepare for that, I fixed all the flake8 warnings in those tests.

  bitcoin#13075 is blocked on a bitcoind bug. This PR is just the flake8 fixes so we're not completely blocked.

Tree-SHA512: 2dc1d589b2f8f4318083a681e487532d0f8f3d57e8bc8f37b660b728ffc33329b88e9251eb223104aea89f293c3f4074ca700fe690e645617326b859da3e93c3
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants