Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for openSUSE_Leap_15.0_Update_ports:aarch64
systemsmanagement:Uyuni:Master:Debian11-Uyuni-Client-Tools
venv-salt-minion
reintroducing-reverted-changes.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File reintroducing-reverted-changes.patch of Package venv-salt-minion
From ac6a77b6c617e28a092398a16dd550d5ef70d7ea Mon Sep 17 00:00:00 2001 From: Jochen Breuer <jbreuer@suse.de> Date: Wed, 25 Mar 2020 15:18:51 +0100 Subject: [PATCH] Reintroducing reverted changes Reintroducing changes from commit e20362f6f053eaa4144583604e6aac3d62838419 that got partially reverted by this commit: https://github.com/openSUSE/salt/commit/d0ef24d113bdaaa29f180031b5da384cffe08c64#diff-820e6ce667fe3afddbc1b9cf1682fdef --- tests/unit/modules/test_aptpkg.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/unit/modules/test_aptpkg.py b/tests/unit/modules/test_aptpkg.py index 77d8b84896..3c9744e224 100644 --- a/tests/unit/modules/test_aptpkg.py +++ b/tests/unit/modules/test_aptpkg.py @@ -293,7 +293,9 @@ class AptPkgTestCase(TestCase, LoaderModuleMockMixin): if installed["wget"].get(names[name], False): installed["wget"][name] = installed["wget"].pop(names[name]) - assert aptpkg.info_installed("wget") == installed + del installed["wget"]["status"] + self.assertEqual(aptpkg.info_installed("wget"), installed) + self.assertEqual(len(aptpkg.info_installed()), 1) @patch( "salt.modules.aptpkg.__salt__", -- 2.29.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor