def run_test(self):
    assert_equal(self.nodes[0].getblockchaininfo()['upgrades']['v5 shield']['status'], 'pending')
    self.nodes[0].generate(300)
    assert_equal(self.nodes[0].getblockchaininfo()['upgrades']['v5 shield']['status'], 'active')
    self.nodes[0].generate(25)
    assert_equal(self.nodes[0].getblockchaininfo()['upgrades']['v5 shield']['status'], 'active')
    assert_equal(self.nodes[0].getblockcount(), 325)
def run_test(self):
    assert_equal(self.nodes[0].getblockchaininfo()['upgrades']['v5 shield']['status'], 'pending')
    self.nodes[0].generate(300)
    assert_equal(self.nodes[0].getblockchaininfo()['upgrades']['v5 shield']['status'], 'active')
    self.nodes[0].generate(25)
    assert_equal(self.nodes[0].getblockchaininfo()['upgrades']['v5 shield']['status'], 'active')
    assert_equal(self.nodes[0].getblockcount(), 325)