diff options
Diffstat (limited to 'tests/unittests/config/test_cc_landscape.py')
-rw-r--r-- | tests/unittests/config/test_cc_landscape.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/unittests/config/test_cc_landscape.py b/tests/unittests/config/test_cc_landscape.py index b08e3d44..c37f619e 100644 --- a/tests/unittests/config/test_cc_landscape.py +++ b/tests/unittests/config/test_cc_landscape.py @@ -42,7 +42,7 @@ class TestLandscape(FilesystemMockingTestCase): mycloud = get_cloud("ubuntu") mycloud.distro = mock.MagicMock() cfg = {"landscape": {}} - cc_landscape.handle("notimportant", cfg, mycloud, LOG, None) + cc_landscape.handle("notimportant", cfg, mycloud, None) self.assertFalse(mycloud.distro.install_packages.called) def test_handler_error_on_invalid_landscape_type(self): @@ -50,7 +50,7 @@ class TestLandscape(FilesystemMockingTestCase): mycloud = get_cloud("ubuntu") cfg = {"landscape": "wrongtype"} with self.assertRaises(RuntimeError) as context_manager: - cc_landscape.handle("notimportant", cfg, mycloud, LOG, None) + cc_landscape.handle("notimportant", cfg, mycloud, None) self.assertIn( "'landscape' key existed in config, but not a dict", str(context_manager.exception), @@ -68,7 +68,6 @@ class TestLandscape(FilesystemMockingTestCase): "notimportant", cfg, mycloud, - LOG, None, ) self.assertEqual( @@ -99,7 +98,6 @@ class TestLandscape(FilesystemMockingTestCase): "notimportant", cfg, mycloud, - LOG, None, ) self.assertEqual( @@ -136,7 +134,6 @@ class TestLandscape(FilesystemMockingTestCase): "notimportant", cfg, mycloud, - LOG, None, ) self.assertEqual(expected, dict(ConfigObj(self.conf))) @@ -167,7 +164,6 @@ class TestLandscape(FilesystemMockingTestCase): "notimportant", cfg, mycloud, - LOG, None, ) self.assertEqual(expected, dict(ConfigObj(self.conf))) |