#!/usr/bin/env python

'''
I'm sure this is not-at-all the best way to test.  I haven't kept up to date
on the testing methods du jour at all.

OTOH, since the files containing the testcases are all text, I'm also sure
that it shouldn't be TOO hard to integrate them into the "right" test framework.
'''
import sys
import glob
sys.path.append('..')
import doctest
import loadpep

files = sorted(glob.glob('*.txt'))
print "Testing", ', '.join(files)

for f in files:
    doctest.testfile(f, 0)
