Updates:
Status: Pending
Comment #1 on issue 1479 by pekka.klarck: Collections Library error with
attribute has_key
http://code.google.com/p/robotframework/issues/detail?id=1479
It sounds strange that this worked with 2.7.7 but not anymore with 2.8.x.
The only changes between 2.7.7 and 2.8 in Collections were that `Dictionary
Should Contain Item` keyword was added, no other code was touched. In 2.8.1
`Create Dictionary` and `Set To Dictionary` were enhanced to accept
`**items`, but this definitely should not affect `Dictionary Should Contain
Key`.
Based on the traceback it seems that the dict-like CaseInsensitiveDict
object returned by request doesn't contain has_key method that is used by
`Dictionary Should Contain Key`. It's strange that a dict-like object
doesn't have it, but we could still change the code to use more Pythonic
`key in dictionary` instead of the current `dictionary.has_key(key)`.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.