blob: d54236af8f133cd0dc8a53fae1c0547e11b7947c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/usr/bin/python3
from .metagenerator import MyMetadata
def test1():
"""1 maintainer"""
metadata = MyMetadata()
metadata.set_maintainer(["<pythonhead@gentoo.org>"],
["Rob Cakebread"],
["Maintainer description."],
["person"])
return metadata
def test2():
"""2 maintainers, longdesc"""
metadata = MyMetadata()
metadata.set_maintainer(["goofy@gentoo.org", "pythonhead@gentoo.org"],
["Goo Fi", "Rob Cakebread"],
["Maintainer one.", "Maintainer two"],
["person", "person"])
metadata.set_longdescription("This packages does X Y and Z.")
return metadata
|