diff options
author | Daniel Watkins <oddbloke@ubuntu.com> | 2020-03-19 12:01:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-19 12:01:15 -0400 |
commit | ade47866aa2f81ab0f3baabbb1fc1e484abdb741 (patch) | |
tree | 0c28ae27861335a73b035ad68d506cc4ab3bcdb5 /tests/unittests/test_handler/test_handler_puppet.py | |
parent | 9db87379b5c04f4c9662eaf81390e702ea63b8b3 (diff) | |
download | vyos-cloud-init-ade47866aa2f81ab0f3baabbb1fc1e484abdb741.tar.gz vyos-cloud-init-ade47866aa2f81ab0f3baabbb1fc1e484abdb741.zip |
cloudinit/tests: remove unneeded with_logs configuration (#263)
These classes don't use `self.logs` anywhere in their body, so we can
remove the `with_logs = True` setting from them.
These instances were found using astpath[0], with the following
invocation:
astpath "//Name[@id='with_logs' and not(ancestor::ClassDef//Attribute[@attr='logs'])]"
[0] https://github.com/hchasestevens/astpath
Diffstat (limited to 'tests/unittests/test_handler/test_handler_puppet.py')
-rw-r--r-- | tests/unittests/test_handler/test_handler_puppet.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/unittests/test_handler/test_handler_puppet.py b/tests/unittests/test_handler/test_handler_puppet.py index 1494177d..04aa7d03 100644 --- a/tests/unittests/test_handler/test_handler_puppet.py +++ b/tests/unittests/test_handler/test_handler_puppet.py @@ -16,8 +16,6 @@ LOG = logging.getLogger(__name__) @mock.patch('cloudinit.config.cc_puppet.os') class TestAutostartPuppet(CiTestCase): - with_logs = True - def test_wb_autostart_puppet_updates_puppet_default(self, m_os, m_util): """Update /etc/default/puppet to autostart if it exists.""" |