Skip to content

Commit 0e325b4

Browse files
LinuxJedidanielinux
authored andcommitted
Port changes from wolfSSL's Python wrapper
wolfSSL's main source tree has a stale Python wrapper. This ports everything over from it before it goes away. In this case it is just a README change.
1 parent c3484f3 commit 0e325b4

File tree

1 file changed

+18
-10
lines changed

1 file changed

+18
-10
lines changed

README.rst

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,28 @@ wolfSSL library. For example:
5656
# Uses custom install location
5757
$ USE_LOCAL_WOLFSSL=/tmp/install pip install .
5858
59-
Tests
60-
=====
59+
Testing
60+
=======
6161

62-
To run the tests that ship with wolfssl-py, after compiling the library run
63-
one of the following commands:
62+
To run the tox tests in the source code, you'll need ``tox`` and a few other
63+
requirements.
6464

65-
.. code-block:: bash
65+
1. Make sure that the testing requirements are installed:
66+
67+
.. code-block:: shell
68+
69+
sudo -H pip install -r requirements/test.txt
70+
71+
72+
2. Run ``make check``:
6673

67-
$ pytest
68-
$ py.test tests
74+
.. code-block:: console
6975
70-
Note: If you used USE_LOCAL_WOLFSSL in the installation step or otherwise have
71-
wolfSSL installed in a non-standard location, you'll need to prepend `pytest`
72-
with `USE_LOCAL_WOLFSSL=<path/to/wolfssl>`.
76+
$ make check
77+
...
78+
_________________________________ summary _________________________________
79+
py3: commands succeeded
80+
congratulations :)
7381
7482
Support
7583
=======

0 commit comments

Comments
 (0)