message: test: Add generate* calls to test framework
diff: @@ -620,6 +620,22 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass):
  self.connect_nodes(1, 2)
  self.sync_all()
  + def generate(self, generator, *args, **kwargs):
  + blocks = generator.generate(*args, **kwargs)
  + return blocks
  +
  + def generateblock(self, generator, *args, **kwargs):
  + blocks = generator.generateblock(*args, **kwargs)
  + return blocks
  +
  + def generatetoaddress(self, generator, *args, **kwargs):
  + blocks = generator.generatetoaddress(*args, **kwargs)
  + return blocks
  +
  + def generatetodescriptor(self, generator, *args, **kwargs):
  + blocks = generator.generatetodescriptor(*args, **kwargs)
  + return blocks
  +
  def sync_blocks(self, nodes=None, wait=1, timeout=60):
  """
  Wait until everybody has the same tip.
  