Skip to content
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

feat: add tests and typing for rdflib.utils.{get_tree,find_roots} #1935

Merged
merged 2 commits into from May 15, 2022

Conversation

aucampia
Copy link
Member

Summary of changes

I wanted to see if these are useful for what I wanted to do and I was
unsure about what exactly they are doing, wanted to be sure so I added
some tests to check the current behavior.

Checklist

  • Checked that there aren't other open pull requests for
    the same change.
  • Checked that all tests and type checking passes.
  • Considered granting push permissions to the PR branch,
    so maintainers can fix minor issues and keep your PR up to date.

@aucampia aucampia force-pushed the iwana-20220514T2354-test_utils branch from 9f1ca7b to 8c94f8d Compare May 15, 2022 10:20
@aucampia aucampia changed the title Add tests and typing for rdflib.utils.{get_tree,find_roots} feat: add tests and typing for rdflib.utils.{get_tree,find_roots} May 15, 2022
@aucampia aucampia marked this pull request as ready for review May 15, 2022 10:24
@aucampia aucampia added the review wanted This indicates that the PR is ready for review label May 15, 2022
@coveralls
Copy link

coveralls commented May 15, 2022

Coverage Status

Coverage increased (+0.1%) to 88.378% when pulling 1764225 on aucampia:iwana-20220514T2354-test_utils into 246c887 on RDFLib:master.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all good

I wanted to see if these are useful for what I wanted to do and I was
unsure about what exactly they are doing, wanted to be sure so I added
some tests to check the current behavior.

Also:
- Add rdftest.ttl to `test/data/defined_namespaces/` using fetcher

  I'm using it to test `get_tree` and `find_roots`.
@aucampia aucampia force-pushed the iwana-20220514T2354-test_utils branch from 8c94f8d to 1f6e2c7 Compare May 15, 2022 13:04
@sonarcloud
Copy link

sonarcloud bot commented May 15, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
No Duplication information No Duplication information

@aucampia aucampia merged commit ab23b62 into RDFLib:master May 15, 2022
@ghost ghost removed the review wanted This indicates that the PR is ready for review label Jun 4, 2022
@aucampia aucampia deleted the iwana-20220514T2354-test_utils branch June 4, 2022 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants