#!/usr/bin/env python3
#
# Run simple Python 3 excerpt to validate the Python 3 bindings.
# Not testing networking, as it might not be available when testing.

import opendht as dht

node = dht.DhtRunner()

node.run()
assert node.isRunning()

node.join()
assert not node.isRunning()
