GitHub PullRequestReviewCommentEvent at 2014-05-01 18:22:02
Repository: pulp
Actor: bmbouter
Payload: {"comment":{"url":"https://api.github.com/repos/pulp/pulp/pulls/comments/12199399","id":12199399,"diff_hunk":"@@ -58,4 +48,49 @@ def assert_validation_exception(method, error_codes, *args, **kwargs):\n             raise AssertionError(\"The following errors were not specified but were raised: %s\" %\n                                  str(errors_raised_unexpectedly))\n     else:\n-        raise AssertionError(\"A validation exception was not raised\")\n\\ No newline at end of file\n+        raise AssertionError(\"A validation exception was not raised\")\n+\n+\n+def compare_element(source, target):\n+    \"\"\"\n+    Utility method to recursively compare two etree elements\n+\n+    :param source: The source element to compare against the target\n+    :type source: xml.etree.ElementTree.Element\n+    :param target: The target element to compare against the source\n+    :type target: xml.etree.ElementTree.Element\n+    :raise AssertionError: if the elements do not match","path":"devel/pulp/devel/unit/server/util.py","position":33,"original_position":33,"commit_id":"11f0ecfc2b1e9c45b5d79e61453f8724928a690f","original_commit_id":"11f0ecfc2b1e9c45b5d79e61453f8724928a690f","user":{"login":"bmbouter","id":180319,"avatar_url":"https://avatars.githubusercontent.com/u/180319?","gravatar_id":"9045966c5a1abf470dcd0d316ae32d35","url":"https://api.github.com/users/bmbouter","html_url":"https://github.com/bmbouter","followers_url":"https://api.github.com/users/bmbouter/followers","following_url":"https://api.github.com/users/bmbouter/following{/other_user}","gists_url":"https://api.github.com/users/bmbouter/gists{/gist_id}","starred_url":"https://api.github.com/users/bmbouter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmbouter/subscriptions","organizations_url":"https://api.github.com/users/bmbouter/orgs","repos_url":"https://api.github.com/users/bmbouter/repos","events_url":"https://api.github.com/users/bmbouter/events{/privacy}","received_events_url":"https://api.github.com/users/bmbouter/received_events","type":"User","site_admin":false},"body":"s/if/If/","created_at":"2014-05-01T18:22:02Z","updated_at":"2014-05-01T18:22:02Z","html_url":"https://github.com/pulp/pulp/pull/930#discussion_r12199399","pull_request_url":"https://api.github.com/repos/pulp/pulp/pulls/930","_links":{"self":{"href":"https://api.github.com/repos/pulp/pulp/pulls/comments/12199399"},"html":{"href":"https://github.com/pulp/pulp/pull/930#discussion_r12199399"},"pull_request":{"href":"https://api.github.com/repos/pulp/pulp/pulls/930"}}}}