blazar/blazar/tests/db/sqlalchemy
Nick Timkovich 7d1b3b7002 Tolerate spaces in extra capability values
The intent behind limiting the split of the query string at all appears
to be supporting values with spaces, but it's off-by-one, limiting the
number of splits to 3 (4 parts max) rather than 3 parts max.

This commit also generates new random values for variables id and
computehost_id during each call to _get_fake_host_extra_capabilities()
rather than just once, which is necessary to avoid a failing test due to
duplicate id values.

Closes-Bug: #1732787
Change-Id: I8dc56aa983ca27763a63325810753148cb8d8ecd
2017-11-17 17:40:31 +00:00
..
__init__.py Migrate climate namespace to blazar 2017-03-02 09:36:14 +00:00
test_sqlalchemy_api.py Tolerate spaces in extra capability values 2017-11-17 17:40:31 +00:00
test_utils.py Clarify the get_full_periods() method 2017-09-07 18:23:28 +01:00