mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Fix a handful of typos in docs and comments
Found with [codespell](https://github.com/codespell-project/codespell/) Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
1 parent
45614b198b
commit
d2e987ef3c
46 files changed
+50
-50
No files matched your search
@@ -27,7 +27,7 @@ import pytest
|
||||
|
||||
|
||||
def _get_partition_device(device, partition_number):
|
||||
"""Return the device corresponding to a parition in a given device."""
|
||||
"""Return the device corresponding to a partition in a given device."""
|
||||
if re.match('[0-9]', device[-1]):
|
||||
return device + 'p' + str(partition_number)
|
||||
|
||||
@@ -192,7 +192,7 @@ class TestActions:
|
||||
self.assert_ext4_file_system_healthy(1)
|
||||
|
||||
def assert_free_space(self, partition_number, space=True):
|
||||
"""Verify that free is available/not available after a parition."""
|
||||
"""Verify that free is available/not available after a partition."""
|
||||
device = _get_partition_device(self.device, partition_number)
|
||||
result = self.run_action(
|
||||
['storage', 'is-partition-expandable', device])
|
||||
|
||||
Reference in new issue
Block a user