namecoin-core icon indicating copy to clipboard operation
namecoin-core copied to clipboard

Some tests require wallet (self.skip_if_no_wallet)

Open yanmaani opened this issue 5 years ago • 0 comments

example_test.py:

    # Use skip_test_if_missing_module() to skip the test if your test requires certain modules to be present.
    # This test uses generate which requires wallet to be compiled
    def skip_test_if_missing_module(self):
        self.skip_if_no_wallet()

Some of the tests require a wallet, but don't have this set up.

To fix this, compile without wallet support (--disable-wallet), run all the tests, and add that to those that fail.

Useful skills:

  • Rudimentary Python
  • Rudimentary understanding of build systems

Want to work on this issue?

For guidance on contributing, please read CONTRIBUTING.md before opening your pull request.

yanmaani avatar Jul 23 '20 17:07 yanmaani