config: Skip homepage test on buildd (Closes: #977527)

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
James Valleroy authored and Sunil Mohan Adapa committed 2020-12-19 13:50:20 -08:00
1 parent 925903e72b
commit c986bf8ff5
1 file changed
+5 -1
+5 -1
View File
@@ -103,7 +103,11 @@ def test_homepage_mapping_skip_ci():
pytest.skip(reason)
f = _home_page_scid2url
os.mkdir(UWS_DIRECTORY)
try:
os.mkdir(UWS_DIRECTORY)
except FileNotFoundError:
pytest.skip('Home folder cannot be accessed on buildd.')
assert '/~fbx/' == f('uws-fbx')
os.rmdir(UWS_DIRECTORY)
assert f('uws-fbx') is None