diff options
| author | Pablo Iranzo Gómez <Pablo.Iranzo@gmail.com> | 2016-06-30 16:28:54 +0200 |
|---|---|---|
| committer | Pablo Iranzo Gómez <Pablo.Iranzo@gmail.com> | 2016-06-30 17:44:49 +0200 |
| commit | 74221942ef29f75a6bacf461e95df88c792136f5 (patch) | |
| tree | c7bb276470e245cdf0dcd9f62b58eaa661b45775 /taskflow/tests | |
| parent | 21aa37553260b8a6a688657957612bc056b24e2b (diff) | |
| download | taskflow-74221942ef29f75a6bacf461e95df88c792136f5.tar.gz | |
Fix some misspellings in the function name and descriptions
Change-Id: I7e3451feb94b1f25b00c5e7b197bb6b527548306
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)) |
