redhataccess / pantheon-cmd

Pantheon CMD is an open source and freely distributed program for validating and building local previews of modular documentation.
GNU General Public License v3.0
2 stars 5 forks source link

Add unittests #61

Open Levi-Leah opened 2 years ago

Levi-Leah commented 2 years ago

Add unittests for validation scripts:

Shared scripts:

And preview scripts:

Implementation of unittests might trigger a rewrite of some of the scripts (e.g. pcutil.py. we open the yml file 4 times there, we can get away with just returning it, perhaps) and reorg.