def text(self):
        """Get indent text as \t or string of spaces
        """
        if self.useTabs:
            return '\t'
        else:
            return ' ' * self.width
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'})"