Test: Improve unit test for nexus 02/68402/2
authorEric Ball <eball@linuxfoundation.org>
Fri, 30 Jul 2021 22:45:05 +0000 (15:45 -0700)
committerEric Ball <eball@linuxfoundation.org>
Mon, 2 Aug 2021 22:11:15 +0000 (15:11 -0700)
commite792e1ac8a09a77be27afcd88aab8027059f16d0
tree455335a7e1e0698ad2ec59675aa389175f630427
parentcf682152e3b194ad201e8a998e0817534d42c6fc
Test: Improve unit test for nexus

When waiting for a repo to complete releasing, a more realistic
"activity" return is to have the "release" status in place, but
without the "stopped" property (which is not added until the repo is
finished releasing). This improved unit test would have caught the
bug addressed by commit e083184d.

Change-Id: I0827cdaad07a8fb94d0f266dc8e53fd69c4aab2d
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
tests/fixtures/nexus/staging_activities_releasing.xml [new file with mode: 0644]
tests/test_nexus.py