Hi, I have stuff running on port 8080, I modified test_click_through_license.py to get a free port from the OS: === modified file 'testing/test_click_through_license.py' --- testing/test_click_through_license.py 2012-01-13 08:02:11 +0000 +++ testing/test_click_through_license.py 2012-01-13 11:04:58 +0000 @@ -2,14 +2,13 @@ import re import os -import sys import shutil import shlex import subprocess +import socket from testtools import TestCase from testtools.matchers import Mismatch -from testtools.matchers import MatchesAny from filefetcher import LicenseProtectedFileFetcher fetcher = LicenseProtectedFileFetcher() @@ -19,7 +18,7 @@ local_rewrite = 'RewriteCond %{REMOTE_ADDR} 127.0.0.1 [OR]' host = 'http://127.0.0.1' -port = '8080' +port = '0' # 0 == Pick a free port. samsung_license_path = '/licenses/samsung-v2.html' ste_license_path = '/licenses/ste.html' samsung_test_file = '/android/~linaro-android/staging-origen/test.txt' @@ -55,7 +54,12 @@ @classmethod def setUpClass(cls): global host - if port != '80': + global port + if port == '0': + s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) + s.bind(('127.0.0.1', 0)) + port = str(s.getsockname()[1]) + s.close() host = host + ':' + port shutil.copy("%s/apache2.conf.tmpl" % srvroot, "%s/apache2.conf" % srvroot) I think you missed checking in a file: licenses/nolicense.html - after the above modification I have failing tests because of this. I also deleted a few unused libraries. If you use the pep8 tool you will find a string of issues that it has found with style. If you use gedit you can install pep8 and pylint they will nag you about all sorts of things :-) If you use gedit and install pylint, activate all the plugins that ship with it and you will find that when you save a python file you get the pep8 output as a sidebar, which is quite useful. We also have a license for pycharm, which is a nice Python IDE: https://wiki.linaro.org/Internal/Licenses/PyCharm This has some stuff built in that makes hacking easier, but doesn't do quite as much style nagging. Nice start though - thanks for testing this. James On 12 January 2012 14:39, Georgy Redkozubov