Add some initial activity stream tests

This commit is contained in:
Matthew Jones
2013-11-14 16:50:21 -05:00
parent 9e8459b96a
commit 639b87d55a
3 changed files with 63 additions and 2 deletions

View File

@@ -1046,7 +1046,7 @@ class ActivityStreamSerializer(BaseSerializer):
if under_short_obj_type == "host" or under_short_obj_type == "group":
d['inventory'] = {'name': obj2.inventory.name, 'id': obj2.inventory.id}
except Exception, e:
logger.error("Error getting object 2 summary: " + str(e))
pass
return d