bifrost/bifrost/tests
Pavlo Shchelokovskyy ac5b258b94 Improve bifrost inventory module
- Attempt to load both JSON and YAML formats with YAML parser.
  JSON is a strict subset of YAML, and any valid JSON must be parsable
  by YAML parser.
- yaml.load is not gerenally safe. Since the data source is a simple data
  structure lets be more strict and use yaml.safe_load instead.
- Do not continue working with parsed data while the file is still open,
  exit the open file context manager as soon as file is parsed.

Change-Id: Ic617e886fd7d1d35b784ee40d836921332ecca1f
2016-12-09 13:28:34 +00:00
..
functional Improve bifrost inventory module 2016-12-09 13:28:34 +00:00
unit Replace assertEqual(None, *) with assertIsNone 2016-01-05 03:18:04 +00:00
__init__.py Add the rest of the cookiecutter-generated files for testing 2015-06-24 16:09:08 -07:00
base.py Modularize inventory and add initial testing 2015-11-04 18:19:49 -05:00
utils.py Add JSON/YAML inventory consumption tests 2015-12-18 10:51:14 -05:00