xiekeyang / oci-discovery

Contain the OCI Ref-engine Discovery specification and related specifications as an extention to the image specification.
Other
2 stars 1 forks source link

oci_discovery/uri_template/test: Test URITemplate.__str__ #56

Closed wking closed 7 years ago

wking commented 7 years ago

This gives us complete coverage for the uri_template package, as measured by:

$ pip install --user coverage
$ python -m coverage run -m unittest discover
$ python -m coverage report | grep uri_template
oci_discovery/uri_template/__init__.py        10      0   100%
oci_discovery/uri_template/test.py            33      5    85%

Incomplete coverage in test.py is acceptable; the unexercised statements are due to:

xiekeyang commented 7 years ago

LGTM