Skip to content

Commit

Permalink
Update python_export_maker for new structure. Refs #6263
Browse files Browse the repository at this point in the history
  • Loading branch information
martyngigg committed Dec 4, 2012
1 parent ddb8034 commit 9e38a01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Code/Mantid/Build/python_export_maker.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ def get_unittest_file(headerfile):
Python unit test file
"""
frameworkdir = get_frameworkdir(headerfile)
testpath = os.path.join(frameworkdir, 'PythonInterface', 'test', 'python')
submodule = get_submodule(headerfile)
testpath = os.path.join(frameworkdir, 'PythonInterface', 'test', 'python',submodule)
return os.path.join(testpath, os.path.basename(headerfile).replace('.h','Test.py'))

def get_submodule(headerfile):
Expand Down

0 comments on commit 9e38a01

Please sign in to comment.