@@ -235,7 +235,7 @@ def test_install_filename(self):
235
235
def test_install_installed (self ):
236
236
"""Test that nothing changes if an installed package matches."""
237
237
stdout = dnf .pycomp .StringIO ()
238
- with tests .support .wiretap_logs ('dnf' , logging .WARNING , stdout ):
238
+ with tests .support .wiretap_logs ('dnf' , logging .INFO , stdout ):
239
239
self .base .install ('librita' )
240
240
self .assertEqual (self .base ._goal .req_length (), 0 )
241
241
self .assertIn (
@@ -268,7 +268,7 @@ def test_install_name_choice(self):
268
268
dnf .subject .Subject ('pepper.src' ).get_best_query (self .base .sack ))
269
269
270
270
stdout = dnf .pycomp .StringIO ()
271
- with tests .support .wiretap_logs ('dnf' , logging .WARNING , stdout ):
271
+ with tests .support .wiretap_logs ('dnf' , logging .INFO , stdout ):
272
272
self .base .install ('pepper' )
273
273
self .assertEqual (self .base ._goal .req_length (), 0 )
274
274
self .assertIn (
@@ -373,7 +373,7 @@ def test_install_filename(self):
373
373
def test_install_installed (self ):
374
374
"""Test that nothing changes if an installed package matches."""
375
375
stdout = dnf .pycomp .StringIO ()
376
- with tests .support .wiretap_logs ('dnf' , logging .WARNING , stdout ):
376
+ with tests .support .wiretap_logs ('dnf' , logging .INFO , stdout ):
377
377
self .base .install ('librita' )
378
378
installed , removed = self .installed_removed (self .base )
379
379
self .assertEmpty (installed )
@@ -408,7 +408,7 @@ def test_install_name_choice(self):
408
408
dnf .subject .Subject ('pepper.src' ).get_best_query (self .base .sack ))
409
409
410
410
stdout = dnf .pycomp .StringIO ()
411
- with tests .support .wiretap_logs ('dnf' , logging .WARNING , stdout ):
411
+ with tests .support .wiretap_logs ('dnf' , logging .INFO , stdout ):
412
412
self .base .install ('pepper' )
413
413
installed , removed = self .installed_removed (self .base )
414
414
self .assertEmpty (installed | removed )
@@ -451,7 +451,7 @@ def test_install_reponame(self):
451
451
def test_install_unavailable (self ):
452
452
"""Test that nothing changes if an unavailable package matches."""
453
453
stdout = dnf .pycomp .StringIO ()
454
- with tests .support .wiretap_logs ('dnf' , logging .WARNING , stdout ):
454
+ with tests .support .wiretap_logs ('dnf' , logging .INFO , stdout ):
455
455
cnt = self .base .install ('hole' )
456
456
self .assertEqual (cnt , 1 )
457
457
installed_pkgs = self .base .sack .query ().installed ().run ()
0 commit comments