Allow mirroring both archives and implementations
[zeroinstall.git] / tests / test-gui
blob75d40a0c1bcb4a59ef33a15e233488de80b8942d
1 #!/usr/bin/env python
2 import os, sys
3 mydir = os.path.dirname(__file__)
4 output = """<?xml version="1.0" ?>
5 <selections interface="http://foo" xmlns="http://zero-install.sourceforge.net/2004/injector/interface"><selection id="i0" local-path="%s" interface="http://foo" main="basetest.py" version="1"/></selections>""" % mydir
6 sys.stdout.write('Length:%8x\n' % len(output))
7 sys.stdout.write(output)