forked from package-url/packageurl-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove cocoapods try/except blocks and update code and tests package-…
…url#143 Reference: package-url#143 Signed-off-by: John M. Horan <[email protected]>
- Loading branch information
1 parent
aee327c
commit 486be44
Showing
2 changed files
with
4 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,8 +21,6 @@ | |
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
# SOFTWARE. | ||
|
||
# Visit https://github.com/package-url/packageurl-python for support and | ||
# download. | ||
|
||
import pytest | ||
|
||
|
@@ -66,7 +64,6 @@ def test_purl2url_get_repo_url(): | |
"pkg:golang/gopkg.in/[email protected]": "https://pkg.go.dev/gopkg.in/[email protected]", | ||
"pkg:cocoapods/[email protected]": "https://cocoapods.org/pods/AFNetworking", | ||
"pkg:cocoapods/[email protected]": "https://cocoapods.org/pods/MapsIndoors", | ||
"pkg:cocoapods/": None, | ||
} | ||
|
||
for purl, url in purls_url.items(): | ||
|
@@ -141,7 +138,6 @@ def test_purl2url_get_inferred_urls(): | |
"https://pypi.org/project/sortedcontainers/2.4.0/" | ||
], | ||
"pkg:cocoapods/[email protected]": ["https://cocoapods.org/pods/AFNetworking"], | ||
"pkg:cocoapods/": [], | ||
"pkg:composer/psr/[email protected]": ["https://packagist.org/packages/psr/log#1.1.3"], | ||
"pkg:rubygems/package-name": ["https://rubygems.org/gems/package-name"], | ||
"pkg:bitbucket/birkenfeld": [], | ||
|