From: W. Trevor King Date: Mon, 12 Nov 2012 01:28:08 +0000 (-0500) Subject: metadata: add new _Upstream attributes in module doctest X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5f7072beb9db8d7829a64aad21bdd10380488479;p=gentoolkit.git metadata: add new _Upstream attributes in module doctest --- diff --git a/pym/gentoolkit/metadata.py b/pym/gentoolkit/metadata.py index 08b4b52..08472d3 100644 --- a/pym/gentoolkit/metadata.py +++ b/pym/gentoolkit/metadata.py @@ -23,10 +23,12 @@ rtf -> Enable export to RTF gnome-print -> Enable pretty Python printing with gnome-print >>> upstream = pkg_md.upstream() - >>> upstream - [<_Upstream {'docs': [], 'remoteid': [], 'maintainer': - [<_Maintainer 'Thomas_Hinkle@alumni.brown.edu'>], 'bugtracker': [], - 'changelog': []}>] + >>> upstream # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE + [<_Upstream {'node': , + 'remoteids': [], 'docs': [], + 'maintainers': + [<_Maintainer 'Thomas_Hinkle@alumni.brown.edu'>], + 'changelogs': [], 'bugtrackers': []}>] >>> upstream[0].maintainer[0].name 'Thomas Mills Hinkle' """