Instead of writing my tests scripts one at a time (testing the same type of data here), I am using the built in nose generator method.
from CheckService import CheckService
def test_generator():
sites=[ "ftp.esat.net",
"ftp.leo.org",
"ftp.mirror.nl",
"ftp.it.freebsd.org"]
for s in sites:
yield check_service,s
def check_service(s):
assert s.startswith('ftp')