Fixes unit tests for vcmp guest module (#47792)

Tests were not working for ansible 2.8
This commit is contained in:
Tim Rupp
2018-10-29 21:51:50 -07:00
committed by GitHub
parent 6ebd20bf22
commit 1ddfac5ad5
2 changed files with 15 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2017 F5 Networks Inc.
# Copyright: (c) 2017, F5 Networks Inc.
# GNU General Public License v3.0 (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
@@ -462,7 +462,7 @@ class ModuleManager(object):
if changed:
self.changes = UsableChanges(params=changed)
def _update_changed_options(self):
def _update_changed_options(self): # lgtm [py/similar-function]
diff = Difference(self.want, self.have)
updatables = Parameters.updatables
changed = dict()