From 84b47dc386a94b25d6911f33995a9a26a9220c4d Mon Sep 17 00:00:00 2001 From: Emma Foley Date: Mon, 2 Oct 2017 16:00:57 +0000 Subject: [PATCH] Fix typo collecd -> collectd Change-Id: I282266bbcd45ccf4f714c40faec564b1b0ee1478 --- collectd_ceilometer/tests/aodh/test_plugin.py | 4 ++-- collectd_ceilometer/tests/gnocchi/test_plugin.py | 4 ++-- collectd_ceilometer/tests/gnocchi/test_writer.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/collectd_ceilometer/tests/aodh/test_plugin.py b/collectd_ceilometer/tests/aodh/test_plugin.py index eb74f6a..2392305 100644 --- a/collectd_ceilometer/tests/aodh/test_plugin.py +++ b/collectd_ceilometer/tests/aodh/test_plugin.py @@ -34,7 +34,7 @@ Logger = logging.getLoggerClass() def mock_collectd(**kwargs): - """Return collecd module with collecd logging hooks.""" + """Return collectd module with collectd logging hooks.""" return mock.patch( __name__ + '.' + MockedCollectd.__name__, specs=True, get_dataset=mock.MagicMock(side_effect=Exception), @@ -76,7 +76,7 @@ class MockedCollectd(object): def mock_config(**kwargs): - """Return collecd module with collecd logging hooks.""" + """Return collectd module with collectd logging hooks.""" return mock.patch( __name__ + '.' + MockedConfig.__name__, specs=True, **kwargs) diff --git a/collectd_ceilometer/tests/gnocchi/test_plugin.py b/collectd_ceilometer/tests/gnocchi/test_plugin.py index 9a3aec9..96175be 100644 --- a/collectd_ceilometer/tests/gnocchi/test_plugin.py +++ b/collectd_ceilometer/tests/gnocchi/test_plugin.py @@ -33,7 +33,7 @@ Logger = logging.getLoggerClass() def mock_collectd(**kwargs): - "Returns collecd module with collecd logging hooks." + "Returns collectd module with collectd logging hooks." return mock.patch( __name__ + '.' + MockedCollectd.__name__, specs=True, get_dataset=mock.MagicMock(side_effect=Exception), **kwargs) @@ -71,7 +71,7 @@ class MockedCollectd(object): def mock_config(BATCH_SIZE=1, **kwargs): - "Returns collecd module with collecd logging hooks." + "Returns collectd module with collectd logging hooks." return mock.patch( __name__ + '.' + MockedConfig.__name__, specs=True, BATCH_SIZE=BATCH_SIZE, **kwargs) diff --git a/collectd_ceilometer/tests/gnocchi/test_writer.py b/collectd_ceilometer/tests/gnocchi/test_writer.py index 8d5ef1c..0250cc1 100644 --- a/collectd_ceilometer/tests/gnocchi/test_writer.py +++ b/collectd_ceilometer/tests/gnocchi/test_writer.py @@ -24,7 +24,7 @@ from collectd_ceilometer.gnocchi import writer def mock_collectd(**kwargs): - "Returns collectd module with collecd logging hooks." + "Returns collectd module with collectd logging hooks." return mock.patch( __name__ + '.' + MockedCollectd.__name__, specs=True, get_dataset=mock.MagicMock(side_effect=Exception), **kwargs) @@ -62,7 +62,7 @@ class MockedCollectd(object): def mock_config(BATCH_SIZE=1, **kwargs): - "Returns collectd module with collecd logging hooks." + "Returns collectd module with collectd logging hooks." return mock.patch( __name__ + '.' + MockedConfig.__name__, specs=True, BATCH_SIZE=BATCH_SIZE, **kwargs)