Commit Graph

22 Commits

Author SHA1 Message Date
Peter Hamilton 35b2381341 Add positional arguments to pytest calls in tox.ini
This change adds a posargs argument to the call to pytest that is
used when invoking unit tests for individual Python versions. This
allows developers to specify which tests or test suites they want
to invoke. For example, use the following to run the unit test
suites related to the GetAttributeList payloads for Python 2.7:

tox -r -e py27 -- -k TestGetAttributeList

Developers can still use tox to run the entire test suite, like
before:

tox -r -e py27
2019-04-04 09:52:07 -04:00
Peter Hamilton 3e48bab13e Add support for Python 3.7
This change adds official library support for Python 3.7, including
updating the testing infrastructure for both tox and Travis CI and
updating the library package metadata in setup.py.
2018-11-15 16:28:29 -05:00
Peter Hamilton b5e7323845 Add functional tests for server auth and access control
This change adds a new integration test suite, named 'functional',
that is specifically intended to test third-party authentication
and group-based access control with the PyKMIP server. A new tox
environment is added to handle running these tests separately from
the existing 'integration' test suite. New Travis CI configuration
and setup files have also been added to facilitate running these
tests automatically.
2018-05-09 01:21:03 -04:00
Peter Hamilton c6ba51c2ac Drop Python 3.3 support
This change drops Python 3.3 support for PyKMIP. Python 3.3 was
released over 5 years ago and has reached end-of-life as of
September 19, 2017 with the 3.3.7 release. Library dependencies
have begun to drop Python 3.3 support as well.
2017-12-07 14:53:53 -05:00
Peter Hamilton 0dcfe8918c Add Sphinx documentation
This change adds a new documentation suite managed by Sphinx.
Information on the library, including client and server details,
a glossary, and development guidelines are included.
2017-11-17 13:50:52 -05:00
Peter Hamilton c5ca3297f3 Remove support for Python2.6
This change removes PyKMIP support for Python2.6. The last release
of Python2.6 occurred in October 2013, over 3 years ago. It also
does not support security features needed to use PyKMIP according
to best practices. This change drops tox and TravisCI settings for
Python2.6 and updates setup to no longer categorize the library as
Python2.6 compliant. The README has been updated accordingly.

Closes #116
2017-01-09 14:53:25 -05:00
Peter Hamilton 109950a399 Adding support for Python 3.6
This change adds PyKMIP support for Python 3.6, including updates
for the tox and TravisCI configurations in addition to setup.

Closes #243
2017-01-06 15:05:36 -05:00
Peter Hamilton 0308f258a3 Removing coveralls integration
This change removes coveralls integration from PyKMIP, specifically
the tox and TravisCI configuration files. codecov will be the
primary coverage tool used going forward.
2016-12-06 15:00:23 -05:00
Peter Hamilton dcbddd8b82 Updating bandit usage with PyKMIP and removing bandit config
This change updates how bandit is used with PyKMIP, removing the
need for a bandit configuration file and instead opting for the
default bandit functionality. bandit is applied across the entire
project structure except for the tests directory.
2016-12-02 10:39:38 -05:00
Peter Hamilton 6dc522aa3f Adding support for Python 3.5 2016-11-11 16:12:39 -05:00
Hadi Esiely a69477f2fd Addition of Sphinx documentation engine
This feature adds support for Sphinx automatic documentation. It can now be used as part of the tox environment.

Signed-off-by: Hadi Esiely <hadi.esiely-barrera@jhuapl.edu>
2016-01-25 17:57:53 -05:00
Peter Hamilton 5396e9098b Adding bandit to the default tox routine 2015-12-02 12:20:42 -05:00
Peter Hamilton 6af1de3219 Merge pull request #92 from hadesto/dev/hadi/bandit-integration/pykmip-bandit-implementation
Adds bandit testing to tox profile
2015-10-19 16:10:52 -04:00
Peter Hamilton 223d536014 Adding Travis CI and Coveralls support
This change adds Travis CI and Coveralls support to enable integration
with third-party testing and coverage statistics reporting services.
2015-10-01 17:17:13 -04:00
Hadi Esiely 8601166631 Adds bandit testing to tox profile
This patch adds bandit test support to the tox profile. It also includes an initial bandit profile set for testing.
2015-09-28 12:26:12 -04:00
Peter Hamilton 3ebc09670a Updating integration tests to ignore software server
This change adds a new pytest marker, ignore. It is used to silently
skip the software server integration test suite, which is now broken
from a recent ssl update. A pytest ini configuration file is also added
to register the new marker.
2015-08-20 09:13:20 -04:00
Peter Hamilton 5523967e07 Updating tox to specify Python version for integration tests
This change updates the tox configuration for the integration test
suite, specifying that the integration tests should be run with
Python2.7.
2015-06-08 12:35:36 -04:00
Peter Hamilton 6606c989fb Adding config argument to integration test suite
This change adds a pytest config argument, allowing the integration test
suite to be run with the client configured with a specific section from
the PyKMIP configuration file. A simple integration test class is added
to demonstrate how to use the client created using the config argument.

To run the integration test suite with a specific configuration, use:

$ tox -e integration -- --config <config-section>

where <config-section> is the name of the config file section to use for
the PyKMIP client.
2015-05-20 12:08:59 -04:00
Peter Hamilton 23574dc33c Reorganizing test suite and updating tox configuration
This change reorganizes the test suite, splitting it into two separate
test suites, one for unit tests and one for integration tests. The tox
configuration is also updated to reflect this change. Invoking tox now
runs the unit tests by default. A separate tox environment is used to
run the integration tests.
2015-05-14 13:13:10 -04:00
Peter Hamilton f7ba5abbcf PyKMIP - Release 0.3.0
This update includes a bunch of new features and bug fixes:
* Add client support for the DiscoverVersions and Query operations
* Add client support for the CreateKeyPair and RekeyKeyPair operations
* Add support for registering and retrieving Public/PrivateKeys
* Add unit demos showing how to use individual KMIP client operations
* Add client custom configuration support
* Add inline documentation for new KMIP objects, attributes and payloads
* Add unit tests for new KMIP objects, attributes, and payloads
* Add a dependency for the six library to handle Python version support
* Update README with a condensed description and overview of the library
* Fix bug with unindexed format strings
* Fix missing example certificate files when installing library
2015-03-14 11:41:25 -04:00
Peter Hamilton 97ae864196 PyKMIP - Release v0.1.0
This change includes several new features to PyKMIP, including:

* support for Python 3.3 and 3.4
* support for KMIP client/server SSL connections
* removal of all Thrift library dependencies
2014-08-28 14:04:23 -04:00
Peter Hamilton 1cb6deaf0b PyKMIP library version 0.0.1
This implementation supports version 1.1 of the KMIP spec. The
library supports the following operations for SymmetricKey objects:

create
register
get
destroy
2014-08-11 16:34:30 -04:00