tests: test_urls: Reset cached guest os_variant before short circuit test

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2019-11-12 15:23:10 -05:00
parent cdcec1fb03
commit 5d8bd316c1
1 changed files with 1 additions and 0 deletions

View File

@ -118,6 +118,7 @@ def _testGuest(testdata, guest):
checkdistro = testdata.detectdistro
guest.os.arch = arch
guest.set_os_name("generic")
if testdata.testshortcircuit:
guest.set_os_name(checkdistro)