when you try to print a record_set that is a CNAME ALIAS you will get: TypeError: __init__() got an unexpected keyword argument 'alias_hosted_zone_id'
_initial_vals was seeded with a reference to the objects records dict, which meant that it was not actually storing the initial values. The route53 API requires DELETEs to provide the entire existing objects values, so this bug was preventing record changing via .save() to work. _initial_vals.records is now a copy of the records object, and the change_existing_rrset test has been updated to use the appropriate attribute for testing (the `values` attribute was not actually being honored by the route53 API) Additionally the is_modified check was trying to enumerate _initial_vals inappropriately, .items() call added
Traceback : File "/usr/lib64/python2.7/site-packages/route53/hosted_zone.py", line 84, in record_sets for rrset in self.connection._list_resource_record_sets_by_zone_id(self.id): File "/usr/lib64/python2.7/site-packages/route53/connection.py", line 90, in _do_autopaginating_api_call for record in parser_func(root, connection=self, **parser_kwargs): File "/usr/lib64/python2.7/site-packages/route53/xml_parsers/list_resource_record_sets_by_zone_id.py", line 140, in list_resource_record_sets_by_zone_id_parser yield parse_rrset(e_rrset, connection, zone_id) File "/usr/lib64/python2.7/site-packages/route53/xml_parsers/list_resource_record_sets_by_zone_id.py", line 117, in parse_rrset return RRSetSubclass(**kwargs) TypeError: __init__() got an unexpected keyword argument 'alias_hosted_zone_id'
* fixed util.py which tried to parse times handed back from AWS's API that didn't contain microseconds. * added quick test for parse_iso_8601_time_str
…nor public/private method changes.
…stedZone. They now match the abilities of each type.