mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
storage: Show disks if FreedomBox is running in an unprivileged container
- Get disks info from df command and add info from udisks, if available. Before, it was other way round. - Add a functional test that asserts root disk is available - Remove unused key file_system_type from disks info Closes #1765 Signed-off-by: Veiko Aasa <veiko17@disroot.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
a0415bc110
commit
0f16a0fbee
7 files changed
+54
-11
No files matched your search
@@ -98,3 +98,8 @@ def help_go_to_status_logs(session_browser):
|
||||
@then('status logs should be shown')
|
||||
def help_status_logs_are_shown(session_browser):
|
||||
assert interface.are_status_logs_shown(session_browser)
|
||||
|
||||
|
||||
@given(parsers.parse("I'm on the {name:w} page"))
|
||||
def go_to_module(session_browser, name):
|
||||
interface.nav_to_module(session_browser, name)
|
||||
@@ -356,3 +356,8 @@ def main_page_is_shown(session_browser):
|
||||
@given(parsers.parse('the network device is in the {zone:w} firewall zone'))
|
||||
def networks_set_firewall_zone(session_browser, zone):
|
||||
system.networks_set_firewall_zone(session_browser, zone)
|
||||
|
||||
|
||||
@then('the root disk should be shown')
|
||||
def storage_root_disk_is_shown(session_browser):
|
||||
assert system.storage_is_root_disk_shown(session_browser)
|
||||
Reference in new issue
Block a user