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: Ifd0d1b8aa419e39361e76a4f846cb4eeaf0d46ca
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
When listing checkpoints by plan or by date with marker,
the result is not correct. It is because that the marker
that generated in the process is not right, this patch
will fix it.
Closes-Bug: #1803409
Change-Id: I3d6c1a93e6408de1ca95552531d9ff2d2395afa2
Now when listing checkpoints by plan and doing filter
by start_date, it will fail with ValueError. It is
because the process of datetime is not right when specify
start_date and plan_id at the same time. This patch will
fix it.
Closes-Bug: #1803035
Change-Id: Ifa2c0e03a0b83d0e5a59e53425cec5be663e13fb
When I create some checkpoints by "OS Infra Provider" and "Noop",
and I query checkpoints by one provider(such as "OS Infra Provider"),
it return all checkpoints include "OS Infra Provider" and "Noop".
Change-Id: Ia93d3131b2d9df8fea6a5d7a66027ae652d4cfa1
Closes-Bug: #1657394