Create end-2-end test node register \ deregister

Hi! I would like to write my own e2e test for registering and deleting a node, after studying the python-consul2 documentation, I did not find such an opportunity.(Only registration and removal of the service). How can this be implemented other than using the consul binary file?

Found solution… Python client for — python-consul2 0.1 documentation