From 5f7072beb9db8d7829a64aad21bdd10380488479 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 11 Nov 2012 20:28:08 -0500 Subject: [PATCH] metadata: add new _Upstream attributes in module doctest --- pym/gentoolkit/metadata.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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' """ -- 2.26.2