Skip to content

Commit fe652a7

Browse files
committed
fix(rpm-updates): unit-test
1 parent 0a218ae commit fe652a7

File tree

2 files changed

+2
-42
lines changed
  • check-plugins/rpm-updates/unit-test

2 files changed

+2
-42
lines changed

check-plugins/rpm-updates/unit-test/containerfiles/rhel-v9

Lines changed: 0 additions & 28 deletions
This file was deleted.

check-plugins/rpm-updates/unit-test/run

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,8 @@ TESTS = [
3737
{
3838
'run-where': 'container',
3939
'plugin-params': '',
40-
'assert-regex': r'\d+ updates available',
41-
'assert-retc': 1,
42-
},
43-
],
44-
},
45-
{
46-
'containerfile': 'containerfiles/rhel-v9',
47-
'podman-run-params': '',
48-
'tests': [
49-
{
50-
'run-where': 'container',
51-
'plugin-params': '',
52-
'assert-regex': r'\d+ updates available',
53-
'assert-retc': 1,
40+
'assert-regex': r'No updates available',
41+
'assert-retc': 0,
5442
},
5543
],
5644
},

0 commit comments

Comments
 (0)