8d5d041590
Find new home for downstream RHEL tests. Upstream them. The set of tests used for fedora gating stays intact: The gating tests are only those having the tier1 tag set in their main.fmf file. The testplan plans/ci.fmf filters the others out from gating. The set of Fedora gating tests stays the same as it was before this change.
23 lines
528 B
Python
Executable File
23 lines
528 B
Python
Executable File
#!/usr/bin/python
|
|
|
|
import sys
|
|
import xmlrpclib
|
|
|
|
wikilocation = sys.argv[1]
|
|
wikicontent = sys.stdin.read()
|
|
|
|
if not wikilocation.startswith("mcermak/"):
|
|
print "wiki location must start with mcermak/"
|
|
sys.exit(1)
|
|
|
|
user = 'xmlrpc2'
|
|
password = 'fo0m4nchU+'
|
|
url='http://wiki.test.redhat.com/'
|
|
wiki = xmlrpclib.ServerProxy(url + '?action=xmlrpc2', allow_none=False)
|
|
auth_token = wiki.getAuthToken(user, password)
|
|
mc = xmlrpclib.MultiCall(wiki)
|
|
mc.applyAuthToken(auth_token)
|
|
mc.putPage(wikilocation, wikicontent)
|
|
result = mc()
|
|
|