ucphhpc / migrid-sync

MiGrid workspace where master branch is kept strictly in sync with SF upstream svn repo. Any development or experiments should use a branch. You probably want to fork your own clone or work e.g. on the edge branch if you wish to contribute.
GNU General Public License v2.0
3 stars 3 forks source link

Ensure viable PYTHONPATH when executing environmentally configured python. #60

Closed albu-diku closed 3 weeks ago

albu-diku commented 1 month ago

Doing so means that we support the ability to execute arbitrary scripts within the tree directly via our wrappers - which one needs to do anyway to have a full assortment of the requisite dependencies - while avoiding the need to alter sys.path in non-test files.

While here drop an init.py file in the tests folder thus allowing tests to be accessible as modules in the tests. and thus allows easily specifying specific tests to be run with unitttest.

jonasbardino commented 3 weeks ago

Thanks, manually merged through svn now.

jonasbardino commented 3 weeks ago

...and sorry for my off-by-one error in the commit messages. It was really this PR60 and not PR61 I recently merged.