class TestBlockchainMethods(unittest.TestCase):
    """
    All unit-testing for the blockchain class exists here
    """

    def test_node_registration(self):
        blockchain = Blockchain()
        self.assertEqual(len(blockchain.nodes), 0)

        blockchain.register_node("http://127.0.0.1:9000")
        self.assertEqual(len(blockchain.nodes), 1)

    def test_create_transaction(self):
        blockchain = Blockchain()