testtools was used to provide a smoother transition to Python 3.
fixtures seems no longer actively maintained and is mostly redundant.
Change-Id: I3fff3beafca13a783bcb4d5a811099ad491ac7ac
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I97af946c244559513689c1ea9ac2d736d55dbe0f
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
With the allocation API we will need to provide the hostname as
the allocation name. Thus, we have to do it earlier.
Change-Id: I8afd8af23ad929fd9768e95a82fecd114fdcbfd9
Remove ValidationFilter, make it a part of reservation to avoid calling
it too many times. Fix AttributeError on failing the custom predicate.
Remove double validation in the reserver, we do another validation later
on anyway.
BREAKING: changes the exception classes.
Change-Id: Ibc3815989917ab777298a05810fd8f3e64debc8f
Story: #2003584
Task: #26178
Moved public access to exceptions from metalsmith itself to
metalsmith.exceptions to avoid clutterning the former.
Updated tox.ini to use upper-constraints.
Change-Id: I136e036749171dc6d36d644e79c6fcfeef6242af