-
Notifications
You must be signed in to change notification settings - Fork 11
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
Changed is_defined
into a ThingClass property and improved its documentation.
#597
Changed is_defined
into a ThingClass property and improved its documentation.
#597
Conversation
…mentation. Added tests.
Codecov Report
@@ Coverage Diff @@
## master #597 +/- ##
==========================================
+ Coverage 67.28% 67.47% +0.19%
==========================================
Files 16 16
Lines 3127 3130 +3
==========================================
+ Hits 2104 2112 +8
+ Misses 1023 1018 -5
|
tests/test_ontopy.py
Outdated
|
||
Implemented as a script, such that it easy to understand and use for debugging. | ||
""" |
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.
I really think this is a bad idea. We have implemented pytest and should use that.
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.
I don't think implementing the test as a script defeat pytest in any way. It is picked up and runs nicely with pytest.
tests/test_ontopy.py
Outdated
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.
This is a very vague title. There is a whole folder called onopy_tests. Shold this go in there? The title of the file should be more specific, and I also think the tests should be made as functions that also are called according to what they test.
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.
I updated the title and renamed the test to ontopy_tests/test_patch.py
Description:
Also added tests.
Closes #563
Type of change:
Checklist:
This checklist can be used as a help for the reviewer.
Comments: