From 1345608bacd4d6bed2399e41e53d044b782df82c Mon Sep 17 00:00:00 2001 From: sunqingliang6 Date: Tue, 19 Jun 2018 20:27:39 +0800 Subject: [PATCH] modify grammatical error, replace 'a' with 'an' Change-Id: I5176a77ec5e0acce888c24537eaa1a84b4288f0a --- vitrage/tests/unit/graph/test_graph_algo.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/vitrage/tests/unit/graph/test_graph_algo.py b/vitrage/tests/unit/graph/test_graph_algo.py index 93deb19ff..07ff827c5 100644 --- a/vitrage/tests/unit/graph/test_graph_algo.py +++ b/vitrage/tests/unit/graph/test_graph_algo.py @@ -438,7 +438,7 @@ class GraphAlgorithmTest(GraphTestBase): IsEmpty(), 'Template - Four connected vertices and a disconnected vertex' '(host alarm -ON-> host -CONTAINS-> instance <-ON- instance alarm' - ',switch) template_root is a instance alarm ') + ',switch) template_root is an instance alarm ') template_graph.add_edge(e_host_uses_switch) mappings = ga.sub_graph_matching(template_graph, @@ -486,9 +486,9 @@ class GraphAlgorithmTest(GraphTestBase): self.assertThat( mappings, IsEmpty(), - 'Template - Five connected vertices and a invalid edge' + 'Template - Five connected vertices and an invalid edge' '(host alarm -ON-> host -CONTAINS-> instance <-ON- instance alarm' - ',host -USES-> switch) template_root is a instance alarm ') + ',host -USES-> switch) template_root is an instance alarm ') template_graph.remove_vertex(t_v_node_not_in_graph) template_graph.remove_vertex(t_v_host_alarm) @@ -505,7 +505,7 @@ class GraphAlgorithmTest(GraphTestBase): 'Template - FIVE connected vertices' '(host -CONTAINS-> instance <-ON- instance alarm' ',node -CONTAINS-> host -USES-> switch, node-CONTAINS->switch)' - ' template_root is a instance alarm ') + ' template_root is an instance alarm ') mappings = subgraph_matching(self.entity_graph, template_graph, [ Mapping(e_node_contains_switch, e_node_to_switch, is_vertex=False), @@ -568,7 +568,7 @@ class GraphAlgorithmTest(GraphTestBase): '(host -CONTAINS-> instance <-ON- instance alarm' ',node -CONTAINS-> host -USES-> switch, node-CONTAINS ' 'fail->switch)' - ' template_root is a instance alarm') + ' template_root is an instance alarm') def test_template_matching_with_not_operator_of_complicated_subgraph(self): """Test the template matching algorithm with 'not' operator