summaryrefslogtreecommitdiff
path: root/src/tests/test_dependency_graph.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_dependency_graph.py')
-rw-r--r--src/tests/test_dependency_graph.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/test_dependency_graph.py b/src/tests/test_dependency_graph.py
index f682e87..66dfc89 100644
--- a/src/tests/test_dependency_graph.py
+++ b/src/tests/test_dependency_graph.py
@@ -15,8 +15,10 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import os
+
from vyos.configdep import check_dependency_graph
+
_here = os.path.dirname(__file__)
ddir = os.path.join(_here, '../../data/config-mode-dependencies')
@@ -26,6 +28,7 @@ class TestDependencyGraph(TestCase):
def setUp(self):
pass
+
def test_acyclic(self):
res = check_dependency_graph(dependency_dir=ddir)
self.assertTrue(res)