diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-07-08 19:49:35 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-07-08 19:49:36 +0000 |
| commit | 7be8c9873aad6cbbed835d9648bec2caa2ef903a (patch) | |
| tree | 4b756a67d214bc7a5f5dda46ec2f2db041edad0d /taskflow/tests | |
| parent | 7dcf383d8519b1d72f5bdd271d08bb4d062dbc29 (diff) | |
| parent | 74221942ef29f75a6bacf461e95df88c792136f5 (diff) | |
| download | taskflow-7be8c9873aad6cbbed835d9648bec2caa2ef903a.tar.gz | |
Merge "Fix some misspellings in the function name and descriptions"
Diffstat (limited to 'taskflow/tests')
| -rw-r--r-- | taskflow/tests/unit/test_failure.py | 2 | ||||
| -rw-r--r-- | taskflow/tests/unit/test_types.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/taskflow/tests/unit/test_failure.py b/taskflow/tests/unit/test_failure.py index bc95dd0..0d0f264 100644 --- a/taskflow/tests/unit/test_failure.py +++ b/taskflow/tests/unit/test_failure.py @@ -460,7 +460,7 @@ class FailureCausesTest(test.TestCase): f = f.causes[0] self.assertEqual(0, len(f.causes)) - def test_causes_supress_context(self): + def test_causes_suppress_context(self): f = None try: try: diff --git a/taskflow/tests/unit/test_types.py b/taskflow/tests/unit/test_types.py index 8a9e316..ba9d8fe 100644 --- a/taskflow/tests/unit/test_types.py +++ b/taskflow/tests/unit/test_types.py @@ -151,13 +151,13 @@ b %(edge)s c; self.assertRaises(ValueError, graph.merge_graphs, g, g2) - def occurence_detector(to_graph, from_graph): + def occurrence_detector(to_graph, from_graph): return sum(1 for node in from_graph.nodes_iter() if node in to_graph) self.assertRaises(ValueError, graph.merge_graphs, g, g2, - overlap_detector=occurence_detector) + overlap_detector=occurrence_detector) g3 = graph.merge_graphs(g, g2, allow_overlaps=True) self.assertEqual(3, len(g3)) |
