keystone/keystone/tests/unit/external
Gage Hugo 7e102514c7 Replace parse_strtime with datetime.strptime
This change switches the use of parse_strtime to datetime.strptime since
oslo.utils parse_strtime simply calls strptime from the datetime library[0],
which keystone already uses.

[0] https://github.com/openstack/oslo.utils/blob/master/oslo_utils/timeutils.py#L97

Change-Id: I9d428d16bfe5ed83a9ff441725c293576a11e09d
2017-12-21 12:14:28 -06:00
..
README.rst Adds interface tests for timeutils 2015-09-23 12:43:37 +00:00
__init__.py Adds interface tests for timeutils 2015-09-23 12:43:37 +00:00
test_timeutils.py Replace parse_strtime with datetime.strptime 2017-12-21 12:14:28 -06:00

README.rst

This directory contains interface tests for external libraries. The goal is not to test every possible path through a library's code and get 100% coverage. It's to give us a level of confidence that their general interface remains the same through version upgrades.

This gives us a place to put these tests without having to litter our own tests with assertions that are not directly related to the code under test. The expectations for the external library are all in one place so it makes it easier for us to find out what they are.