diff --git a/tests/integration/modules/test_pkg.py b/tests/integration/modules/test_pkg.py index 7bc448eed2..3d31122cff 100644 --- a/tests/integration/modules/test_pkg.py +++ b/tests/integration/modules/test_pkg.py @@ -308,16 +308,7 @@ class PkgModuleTest(ModuleCase, SaltReturnAssertsMixin): self.skipTest('No updates available for this machine. Skipping pkg.upgrade test.') else: ret = self.run_function(func) - - if 'Problem encountered' in ret: - self.skipTest('A problem was encountered when running pkg.upgrade. This test is ' - 'meant to catch no-ops or problems with the salt function itself, ' - 'not problems with actual package installation. Skipping.') - - # The changes dictionary should not be empty. self.assertNotEqual(ret, {}) - if 'changes' in ret: - self.assertNotEqual(ret['changes'], {}) @destructiveTest @skipIf(salt.utils.platform.is_windows(), 'minion is windows')