Simplify Nexus 2 repo target regex 55/9855/4
authorThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 9 Apr 2018 18:14:47 +0000 (14:14 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 30 Apr 2018 21:11:05 +0000 (17:11 -0400)
commitf881931f8a8b2fb45179312ba05cf97b788770ff
tree05b67fa0613f3e5622b068ddd7a615ced65c551b
parent81cf2ce554580ab53b078d85865d6a9e438f96c6
Simplify Nexus 2 repo target regex

Add unit test to check real world artifact paths against the regex
pattern.

Issue: RELENG-758
Change-Id: I580fef69ef03d9cf85c59da250fdfee66fcb7ad5
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
lftools/nexus/cmd.py
lftools/nexus/util.py [new file with mode: 0644]
tests/test_nexus.py [new file with mode: 0644]