Skip to content

Commit

Permalink
Export Conftest class at the top level
Browse files Browse the repository at this point in the history
  • Loading branch information
garethr committed Oct 30, 2019
1 parent d75dffa commit 342f0cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ The `Conftest` class makes interacting with [Conftest](https://github.com/instru
Note that this requires the `conftest` executable to be available on the path.

```python
>>> from policykit.conftest import Conftest
>>> from policykit import Conftest
>>> cli = Conftest("policy")
>>> result = cli.test("deployment.yaml")
>>> result
Expand Down
1 change: 1 addition & 0 deletions policykit/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
from .conftest import Conftest
from .models import ConstraintTemplate

0 comments on commit 342f0cb

Please sign in to comment.