Closed ycheng517 closed 1 year ago
Code seems fine at first glance but it is hard to test because there is no magnet link.
Hmm. It actually passed tests.
@benblack769 it looks like tests were passing because pip was preferring to install the package in pypi instead of the package locally built in the dist/
folder. I've now incremented the package version, so now pip should prefer the one in dist/
since it's newer, and so the tests should fail with RuntimeError: unsupported URL protocol
which would be expected since we need a valid magnet URL.
A couple of notes: