-
-
Notifications
You must be signed in to change notification settings - Fork 562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for parsing private classifier #3989
base: develop
Are you sure you want to change the base?
Added support for parsing private classifier #3989
Conversation
ff1685e
to
f3511cf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@VarshaUN Thanks++
Please always run subset of tests where you have made changes locally and look for test failures. And then also look for test failures in the CI and fix any issues present there too.
tests/packagedcode/test_pypi.py
Outdated
@@ -339,6 +339,12 @@ def test_parse_pyproject_toml_standard_lc0(self): | |||
expected_loc = self.get_test_loc('pypi/pyproject-toml/standard/lc0-pyproject.toml-expected.json') | |||
self.check_packages_data(package, expected_loc, regen=REGEN_TEST_FIXTURES) | |||
|
|||
def test_parse_pyproject_toml_private_package(self): | |||
test_file = self.get_test_loc('pypi/pyproject-toml/private/private_package/pyproject.toml') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You've added a test but no test file, so this is failing with an OSError, no file found. Please add the corresponding test and expected files too. See https://scancode-toolkit.readthedocs.io/en/stable/contribute/contrib_dev.html#running-tests on how to regen files selectively.
36af28a
to
0a92f7f
Compare
…N <varshaun58@gmail.com> Signed-off-by: Varsha U N <varshamaddur2006@gmail.com>
Signed-off-by: Varsha U N <varshamaddur2006@gmail.com>
Signed-off-by: Varsha U N <varshamaddur2006@gmail.com>
52ef305
to
25f5adb
Compare
@AyanSinhaMahapatra I have added every required files now. Please review it |
@AyanSinhaMahapatra I have added the changes you told me. Please review it |
Fixes #3968
Tasks
Run tests locally to check for errors.
Signed-off-by: Varsha U N varshaun58@gmail.com