Actually use path parameter in of_file function

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Add initial unit tests (check can parse pci.ids)

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Use hand-crafted mock pci.ids file for unit tests

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Add unit test for print function

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Add unit tests for get_{vendor,device}_name

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Factor out print into to_string

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Updated README for 0.2.0 changes

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Merge pull request #2 from simonjbeaumont/add-unit-tests

Add unit tests