keystone/keystone/tests/unit/external
David Stanek 93b82ea503 Adds interface tests for timeutils
We were originally testing the return value of timeutils.parse_strtime
in our unit tests. Instead of interleaving tests for an external library
into Keystone tests I gave them a place of their own.

Change-Id: I2601b1198ca841c71a7590c7b00b11bcede4d4a9
2015-09-23 12:43:37 +00:00
..
__init__.py Adds interface tests for timeutils 2015-09-23 12:43:37 +00:00
README.rst Adds interface tests for timeutils 2015-09-23 12:43:37 +00:00
test_timeutils.py Adds interface tests for timeutils 2015-09-23 12:43:37 +00:00

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.