-
Notifications
You must be signed in to change notification settings - Fork 55
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
fix #214: AttributeDict does not support hasattr #269
fix #214: AttributeDict does not support hasattr #269
Conversation
Codecov Report
@@ Coverage Diff @@
## main #269 +/- ##
==========================================
+ Coverage 69.18% 69.20% +0.02%
==========================================
Files 22 22
Lines 3946 3949 +3
Branches 715 715
==========================================
+ Hits 2730 2733 +3
Misses 1036 1036
Partials 180 180
📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today! |
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.
Thanks, just add an entry to CHANGES please.
(No idea why codecov doesn't see this one line covered that actually raises the AttributeError. But your tests seem to cover what's needed so I am ok with it.)
tests/test_utilities.py
Outdated
@@ -52,6 +52,11 @@ def test_dict_set(self): | |||
self.d["gargl"] = "blaster" | |||
assert self.d["gargl"] == "blaster" | |||
|
|||
def test_dict_hasttr(self): |
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.
:-)
def test_dict_hasttr(self): | |
def test_dict_hasattr(self): |
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.
good catch!
cheers! |
Thanks for the speedy merge! |
as per title