1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-19 00:17:51 +02:00

Fix typos (#440)

Found via `codespell -S ./tests/fixtures -L chage,respons,astroid,unx,ist,technik,ans,buildd`
This commit is contained in:
Kian-Meng Ang
2023-07-31 23:45:03 +08:00
committed by GitHub
parent 4cd721be85
commit 4b028b5080
8 changed files with 11 additions and 11 deletions

View File

@ -173,7 +173,7 @@ class MyTests(unittest.TestCase):
mdadm_examine_json = json.loads(f.read())
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/generic/mdadm-query-detail.json'), 'r', encoding='utf-8') as f:
mdadm_query_detial_json = json.loads(f.read())
mdadm_query_detail_json = json.loads(f.read())
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/generic/mdadm-query-raid0-ok.json'), 'r', encoding='utf-8') as f:
mdadm_query_raid0_ok_json = json.loads(f.read())
@ -360,7 +360,7 @@ class MyTests(unittest.TestCase):
"""
Test 'mdadm --query --detail'
"""
self.assertEqual(jc.parsers.mdadm.parse(self.mdadm_query_detail, quiet=True), self.mdadm_query_detial_json)
self.assertEqual(jc.parsers.mdadm.parse(self.mdadm_query_detail, quiet=True), self.mdadm_query_detail_json)
def test_mdadm_query_raid0_ok(self):