metadata: add new _Upstream attributes in module doctest
authorW. Trevor King <wking@tremily.us>
Mon, 12 Nov 2012 01:28:08 +0000 (20:28 -0500)
committerW. Trevor King <wking@tremily.us>
Mon, 12 Nov 2012 01:28:08 +0000 (20:28 -0500)
pym/gentoolkit/metadata.py

index 08b4b523a36da06318f28888421e089a37b425be..08472d3323407de667602e84dc7a5c893b68b0e3 100644 (file)
                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': <Element 'upstream' at 0x...>,
+                 'remoteids': [], 'docs': [],
+                 'maintainers':
+                 [<_Maintainer 'Thomas_Hinkle@alumni.brown.edu'>],
+                 'changelogs': [], 'bugtrackers': []}>]
                >>> upstream[0].maintainer[0].name
                'Thomas Mills Hinkle'
 """