Skip to content

Commit

Permalink
fix expected output string
Browse files Browse the repository at this point in the history
  • Loading branch information
Comeani committed May 7, 2024
1 parent 9d0103f commit b6cd7cc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/test_crc_sus.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@ class OutputStringFormatting(TestCase):
def test_output_matches_string(self) -> None:
"""Compare output string from the app with manually constructed expectation"""

output_string = CrcSus().build_output_string(account='sam', smp=10, htc=20)
output_string = CrcSus().build_output_string(account='sam', used=0, total=10, cluster='SMP')
expected_string = (
'Account sam\n'
' cluster smp has 10 SUs remaining\n'
' cluster htc has 20 SUs remaining'
'Account sam\n cluster SMP has 10 SUs remaining'
)

self.assertEqual(expected_string, output_string)

0 comments on commit b6cd7cc

Please sign in to comment.