Skip to content

Commit 19a4965

Browse files
authored
Merge pull request package-url#660 from giterlizzi/patch-4
Added missing namespace in rpm-test.json
2 parents d6409e0 + 34955e2 commit 19a4965

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

tests/types/rpm-test.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@
108108
"description": "Parse test for PURL type: rpm",
109109
"test_group": "base",
110110
"test_type": "parse",
111-
"input": "pkg:rpm/centerim@4.22.10-1.el6?arch=i686&epoch=1&distro=fedora-25",
111+
"input": "pkg:rpm/fedora/centerim@4.22.10-1.el6?arch=i686&epoch=1&distro=fedora-25",
112112
"expected_output": {
113113
"type": "rpm",
114-
"namespace": null,
114+
"namespace": "fedora",
115115
"name": "centerim",
116116
"version": "4.22.10-1.el6",
117117
"qualifiers": {
@@ -128,8 +128,8 @@
128128
"description": "Roundtrip test for PURL type: rpm",
129129
"test_group": "base",
130130
"test_type": "roundtrip",
131-
"input": "pkg:rpm/centerim@4.22.10-1.el6?arch=i686&epoch=1&distro=fedora-25",
132-
"expected_output": "pkg:rpm/centerim@4.22.10-1.el6?arch=i686&distro=fedora-25&epoch=1",
131+
"input": "pkg:rpm/fedora/centerim@4.22.10-1.el6?arch=i686&epoch=1&distro=fedora-25",
132+
"expected_output": "pkg:rpm/fedora/centerim@4.22.10-1.el6?arch=i686&distro=fedora-25&epoch=1",
133133
"expected_failure": false,
134134
"expected_failure_reason": null
135135
},
@@ -139,7 +139,7 @@
139139
"test_type": "build",
140140
"input": {
141141
"type": "rpm",
142-
"namespace": null,
142+
"namespace": "fedora",
143143
"name": "centerim",
144144
"version": "4.22.10-1.el6",
145145
"qualifiers": {
@@ -149,7 +149,7 @@
149149
},
150150
"subpath": null
151151
},
152-
"expected_output": "pkg:rpm/centerim@4.22.10-1.el6?arch=i686&distro=fedora-25&epoch=1",
152+
"expected_output": "pkg:rpm/fedora/centerim@4.22.10-1.el6?arch=i686&distro=fedora-25&epoch=1",
153153
"expected_failure": false,
154154
"expected_failure_reason": null
155155
}

0 commit comments

Comments
 (0)