Skip to content

Commit

Permalink
CRAYSAT-1847: Update outdated attributes used in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
annapoorna-s-alt committed Dec 11, 2024
1 parent c573d3f commit 959a829
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/man/sat-bootsys.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ These options apply to both the ``shutdown`` and ``boot`` actions.
The version of the BOS API to use when launching BOS sessions.

**--cfs-version CFS_VERSION**
The version of the CFS API to use when launching CFS sessions.
The version of the CFS API to use when querying CFS sessions.

**--cle-bos-template** *CLE_BOS_TEMPLATE*
The name of the BOS session template for shutdown or boot of
Expand Down
4 changes: 2 additions & 2 deletions tests/test_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def test_get_formatted_report_json(self):

data = json.loads(json_s)
for expected, actual in zip(self.entries, data):
self.assertEquals(expected, list(actual.values()))
self.assertEqual(expected, list(actual.values()))

def test_get_formatted_report_json_with_xnames(self):
"""Json dumps should encode XName datatypes as strings.
Expand All @@ -326,7 +326,7 @@ def test_get_formatted_report_json_with_xnames(self):

json_s = report.get_formatted_report('json')
data = json.loads(json_s)
self.assertEquals(xname_s, data[0][header_s])
self.assertEqual(xname_s, data[0][header_s])

def test_print_report(self):
"""str(report) should depend on the format instance variable.
Expand Down

0 comments on commit 959a829

Please sign in to comment.