mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
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:
parent
925903e72b
commit
c986bf8ff5
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user