Added DOI regex function to utils.py which is called in add_cmd.py upon specifying a new DOI. DOI validation applies directly on argument parsing by using a custom argparse.Action.
1. Install the dependencies using: > pip install -r requirements.txt 2. Run the tests using: > python -m unittest discover If you use nosetest, it will complain about addExpectedFailure, which you can safely disregard.