Fix srcpkg test

This commit is contained in:
Felix Yan 2020-09-17 12:55:30 +08:00
parent a018f71186
commit d380e31881
No known key found for this signature in database
GPG key ID: 786C63F330D7CB92

View file

@ -15,10 +15,10 @@ async def test_apt(get_version):
}) == "0.1.7-1"
@flaky(max_runs=10)
async def test_apt_source_pkg(get_version):
async def test_apt_srcpkg(get_version):
assert await get_version("test", {
"source": "apt",
"source_pkg": "golang-github-dataence-porter2",
"srcpkg": "golang-github-dataence-porter2",
"mirror": "http://deb.debian.org/debian/",
"suite": "sid",
}) == "0.0~git20150829.56e4718-2"