Exemplo n.º 1
0
    def test_oa_depth_first():
        """ Depth first search on the graph from the slides."""
        from freevolv.test.apps.dbrev import search
        from test_b.company.models.test import nodes_table

        search.depth_first("slides_graph", nodes_table.NodesTable.get_instance())
Exemplo n.º 2
0
    def test_nf_subclassing():
        """ Depth first search on nodes that are sub-classed."""
        from freevolv.test.apps.dbrev import search
        from test_b.company.models.test import sub_nodes_table

        search.depth_first("test", sub_nodes_table.SubNodesTable.get_instance())