From 30a004ac7fcd4db3f8abe6e825bb64d6ec67c179 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sat, 11 Nov 2017 09:57:22 -0700 Subject: Import pytest-helpers-namespace_2017.11.11.orig.tar.gz --- README.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'README.rst') diff --git a/README.rst b/README.rst index 3b4ef7c..6b524c9 100644 --- a/README.rst +++ b/README.rst @@ -5,7 +5,7 @@ Pytest Helpers Namespace :target: https://travis-ci.org/saltstack/pytest-helpers-namespace :alt: See Build Status on Travis CI -.. image:: https://ci.appveyor.com/api/projects/status/github/saltstack/pytest-helpers-namespace?branch=master +.. image:: https://ci.appveyor.com/api/projects/status/github/saltstack/pytest-helpers-namespace?branch=master&svg=true :target: https://ci.appveyor.com/project/saltstack-public/pytest-helpers-namespace/branch/master :alt: See Build Status on AppVeyor @@ -116,6 +116,9 @@ And now consider the following test case: assert pytest.helpers.can.haz.foo(True) is True +You can even pass a name to the register function and that will be the helper function name. + + Contributing ------------ Contributions are very welcome. Tests can be run with `tox`_, please ensure @@ -137,6 +140,11 @@ description. Changelog --------- +v2017.11.11 +~~~~~~~~~~~ + +* Allow passing a string to the register function which will be the helper name + v2016.7.10 ~~~~~~~~~~ -- cgit v1.2.3