graph_test

Testing dependency graphs

pyaptly.graph_test.run_graph(tree)[source]

Runs the test

pyaptly.graph_test.test_graph_basic()[source]

Test our test method, create a basic graph using hypthesis and run some basic tests against it.

pyaptly.graph_test.test_graph_cycles()[source]

Test reacts correctly on trees with cycles.

pyaptly.graph_test.test_graph_island()[source]

Test with two independant graphs which can form a island