diff -r c7c26511138f -r 7c4a911dc066 buildframework/helium/sf/python/pythoncore/lib/pythoncorecpythontests/test_documentation.py --- a/buildframework/helium/sf/python/pythoncore/lib/pythoncorecpythontests/test_documentation.py Wed Jun 16 16:51:40 2010 +0300 +++ b/buildframework/helium/sf/python/pythoncore/lib/pythoncorecpythontests/test_documentation.py Fri Aug 13 14:59:05 2010 +0300 @@ -35,7 +35,7 @@ (fileDes, tempFileName) = tempfile.mkstemp() old_db = os.path.join(os.environ['TEST_DATA'], 'data', 'docs', 'sample_old_db.xml') new_db = os.path.join(os.environ['TEST_DATA'], 'data', 'docs', 'sample_new_db.xml') - writer = APIDeltaWriter(old_db, new_db) + writer = APIDeltaWriter(open(old_db), open(new_db)) saveout = sys.stdout sys.stdout = sys.stderr writer.write(tempFileName) @@ -45,4 +45,4 @@ content = tempFile.readlines() tempFile.close() os.unlink(tempFileName) - assert len(content) == 12 + assert len(content) == 13