<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pyjwt.git/tests/test_compat.py, branch remove-cli</title>
<subtitle>github.com: progrium/pyjwt.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/'/>
<entry>
<title>Remove unnecessary compatibility shims for Python 2 (#498)</title>
<updated>2020-06-19T05:53:17+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-06-19T05:53:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/commit/?id=dc8dc7d05d54bd5502295601c01b557caab92a76'/>
<id>dc8dc7d05d54bd5502295601c01b557caab92a76</id>
<content type='text'>
As the project is Python 3 only, can remove the compatibility shims in
compat.py.

Type checking has been simplified where it can:
  - str is iterable
  - bytes is iterable
  - use isinstance instead of issubclass

The remaining function bytes_from_int() has been moved to utils.py.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As the project is Python 3 only, can remove the compatibility shims in
compat.py.

Type checking has been simplified where it can:
  - str is iterable
  - bytes is iterable
  - use isinstance instead of issubclass

The remaining function bytes_from_int() has been moved to utils.py.</pre>
</div>
</content>
</entry>
<entry>
<title>DX Tweaks (#450)</title>
<updated>2019-10-22T02:38:34+00:00</updated>
<author>
<name>José Padilla</name>
<email>jpadilla@webapplicate.com</email>
</author>
<published>2019-10-22T02:38:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/commit/?id=11ac89474b1179925c76450fcc4b3d2042c45f19'/>
<id>11ac89474b1179925c76450fcc4b3d2042c45f19</id>
<content type='text'>
* Setup pre-commit hooks

* Run initial `tox -e lint`

* Fix package name

* Fix .travis.yml
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Setup pre-commit hooks

* Run initial `tox -e lint`

* Fix package name

* Fix .travis.yml
</pre>
</div>
</content>
</entry>
<entry>
<title>Add JWK support for HMAC and RSA keys</title>
<updated>2016-08-28T23:08:55+00:00</updated>
<author>
<name>Mark Adams</name>
<email>mark@markadams.me</email>
</author>
<published>2016-05-06T04:58:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/commit/?id=42b011410b28ea3e3920f40641a57c8893e2e04e'/>
<id>42b011410b28ea3e3920f40641a57c8893e2e04e</id>
<content type='text'>
- JWKs for RSA and HMAC can be encoded / decoded using the .to_jwk() and
  .from_jwk() methods on their respective jwt.algorithms instances

- Replaced tests.utils ensure_unicode and ensure_bytes with jwt.utils versions
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- JWKs for RSA and HMAC can be encoded / decoded using the .to_jwk() and
  .from_jwk() methods on their respective jwt.algorithms instances

- Replaced tests.utils ensure_unicode and ensure_bytes with jwt.utils versions
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed all references to unittest</title>
<updated>2015-04-14T16:35:26+00:00</updated>
<author>
<name>Mark Adams</name>
<email>mark@markadams.me</email>
</author>
<published>2015-04-13T03:50:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/commit/?id=109f44cf72ebafaade1f251587cd6a4724f11b84'/>
<id>109f44cf72ebafaade1f251587cd6a4724f11b84</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Converted all unittest constructs to pytest</title>
<updated>2015-04-14T14:52:49+00:00</updated>
<author>
<name>Mark Adams</name>
<email>mark@markadams.me</email>
</author>
<published>2015-04-13T03:17:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/commit/?id=6315f8694348ef64560eaf6f878247ae5b6cdc08'/>
<id>6315f8694348ef64560eaf6f878247ae5b6cdc08</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed constant time compare tests so that they always use bytes as input.</title>
<updated>2015-01-25T13:14:44+00:00</updated>
<author>
<name>Mark Adams</name>
<email>mark@markadams.me</email>
</author>
<published>2015-01-25T13:14:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/commit/?id=fca6d7e3e282a8a198dd9f3ea4390b63b7286c8f'/>
<id>fca6d7e3e282a8a198dd9f3ea4390b63b7286c8f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed compat imports so PEP8 passes.</title>
<updated>2015-01-25T13:01:07+00:00</updated>
<author>
<name>Mark Adams</name>
<email>mark@markadams.me</email>
</author>
<published>2015-01-25T13:01:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/commit/?id=b6de2fdc4cfdf185751561ba0cd8bc2ee441a49e'/>
<id>b6de2fdc4cfdf185751561ba0cd8bc2ee441a49e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added tests for `pyjwt.compat.constant_time_compare`</title>
<updated>2015-01-25T12:49:56+00:00</updated>
<author>
<name>Mark Adams</name>
<email>mark@markadams.me</email>
</author>
<published>2015-01-25T12:49:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/commit/?id=1b21187bd79251583829e62c64b6936947c0f8bf'/>
<id>1b21187bd79251583829e62c64b6936947c0f8bf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Made several changes to testing to increase code coverage</title>
<updated>2015-01-25T12:25:45+00:00</updated>
<author>
<name>Mark Adams</name>
<email>mark@markadams.me</email>
</author>
<published>2015-01-25T12:16:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/commit/?id=85f23976964d5400ebc888ce7b793fd5ad8a8f05'/>
<id>85f23976964d5400ebc888ce7b793fd5ad8a8f05</id>
<content type='text'>
- Added a ton of tests to cover areas that weren't covered before
- Added a pep8 tox env to run pep8 tests as part of the build
- Moved keys into tests/keys
- Added test_algorithms.py for algorithms module tests
- Changed setup.py to run all tests in tests/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Added a ton of tests to cover areas that weren't covered before
- Added a pep8 tox env to run pep8 tests as part of the build
- Moved keys into tests/keys
- Added test_algorithms.py for algorithms module tests
- Changed setup.py to run all tests in tests/
</pre>
</div>
</content>
</entry>
</feed>
