rcs-si / module_check

Check if environment variables within a module file are defined correctly
2 stars 0 forks source link

Implement unit tests #21

Open bu-bgregor opened 4 months ago

bu-bgregor commented 4 months ago

Add a test_module_check.py file. The standard Python unittest library should be more than sufficient:

https://docs.python.org/3/library/unittest.html

Test everything in /share/pkg.8/modloadtest, and also add tests for some of the functions as module_env.py as seems useful.