Skip to content

Commit

Permalink
Merge pull request #3 from JayZ12138/master
Browse files Browse the repository at this point in the history
Update setup.py file
  • Loading branch information
JayZ12138 committed Mar 13, 2019
2 parents fefcedd + 3136061 commit 6f15c88
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@ python-ubi-config
==================

A Python library for reading UBI configurations

[![Build Status](https://travis-ci.org/release-engineering/ubi-config.svg?branch=master)](https://travis-ci.org/release-engineering/ubi-config)
[![Coverage Status](https://coveralls.io/repos/github/release-engineering/ubi-config/badge.svg?branch=master)](https://coveralls.io/github/release-engineering/ubi-config?branch=master)

- [Source](https://github.com/release-engineering/ubi-config)
- [Documentation](https://release-engineering.github.io/ubi-config/)
- [PyPI](https://pypi.org/project/ubi-config)

Installation
------------

Install the `ubi-config` package from PyPI.

```
pip install ubi-config
```


Usage Example
-------------
When there is `DEFAULT_UBI_REPO` set, user can load the config by passing the config file
Expand Down
2 changes: 1 addition & 1 deletion tests/ubi_config/test_ubi.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def test_load_all_from_local_recursive():
assert isinstance(configs[0], ubi.UbiConfig)


def test_syntax_from_config_file():
def test_syntax_error_from_config_file():
loader = ubi.get_loader(local=True, local_repo=TEST_DATA_DIR)
try:
loader.load('bad_configs/syntax_error.yaml')
Expand Down

0 comments on commit 6f15c88

Please sign in to comment.