test: move-only: Move all generate* tests to a single file

Can be reviewed with
--color-moved=dimmed-zebra
This commit is contained in:
MarcoFalke committed 2022-03-25 11:55:49 +01:00
1 parent c9b5790e8d
commit 0000ff0d6b
4 files changed
+91 -107

No files matched your search

+1 -5
View File
@@ -26,10 +26,6 @@ class DisableWalletTest (BitcoinTestFramework):
x = self.nodes[0].validateaddress('mneYUmWYsuk7kySiURxCi3AGxrAqZxLgPZ')
assert x['isvalid'] == True
# Checking mining to an address without a wallet. Generating to a valid address should succeed
# but generating to an invalid address will fail.
self.generatetoaddress(self.nodes[0], 1, 'mneYUmWYsuk7kySiURxCi3AGxrAqZxLgPZ')
assert_raises_rpc_error(-5, "Invalid address", self.generatetoaddress, self.nodes[0], 1, '3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy')
if __name__ == '__main__':
DisableWalletTest ().main ()
DisableWalletTest().main()