Tests synchronized with the boost python PySide.

This commit is contained in:
Hugo Lima 2009-12-15 15:37:20 -02:00
commit 3deada6b7e
14 changed files with 329 additions and 8 deletions

View file

@ -11,11 +11,7 @@ class ResourcesUsage(unittest.TestCase):
'''Test case for resources usage'''
def setUp(self):
try:
f = open('quoteEnUS.txt')
except IOError:
f = open(os.path.join('qtcore', 'quoteEnUS.txt'))
f = open(os.path.join(os.path.dirname(__file__), 'quoteEnUS.txt'))
self.text = f.read()
f.close()