~gtg-user/gtg/documenters-credits

« back to all changes in this revision

Viewing changes to GTG/tests/test_apidocs.py

  • Committer: Izidor Matušov
  • Date: 2012-05-17 18:26:38 UTC
  • mfrom: (1175.1.14 fix-test-script)
  • Revision ID: izidor.matusov@gmail.com-20120517182638-i4jsjyo2bjhbe7ar
Merging huxan's fix so tests are working again and are mandatory to accept patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
            #if no pydoctor is present, abort the test w/out giving error
39
39
            return
40
40
        GTG_basedir = os.path.dirname(GTG.__file__)
41
 
        api_dir = os.path.join(GTG_basedir, 
 
41
        api_dir = os.path.join(GTG_basedir, '..', 'tmp',
42
42
                               'test_build_api-' + str(uuid.uuid4()))
 
43
        if not os.path.isdir(api_dir):
 
44
            os.makedirs(api_dir)
43
45
        args = ['pydoctor', 
44
46
                '--add-package', GTG_basedir,
45
47
                '--make-html',