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)