def loop():
    return asyncio.get_event_loop()
def test_should_encode_node_with_property(self):
        a = Node(name="Alice")
        encoded = cypher_repr(a, node_template="{labels} {properties}")
        assert encoded == u"({name: 'Alice'})"