Skip to content

Commit 3e14cef

Browse files
committed
fix failing test
1 parent e4ead4a commit 3e14cef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_strategy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def test_print_output(self):
1414
"""
1515
output = subprocess.check_output(["python", "behavioral/strategy.py"])
1616
expected_output = os.linesep.join(
17-
['Strategy Example 0', 'Strategy Example 1 from execute 1', 'Strategy Example 2 from execute 2', '']
17+
['<Price: 100, price after discount: 100>', '<Price: 100, price after discount: 90.0>', '<Price: 1000, price after discount: 730.0>', '']
1818
)
1919
# byte representation required due to EOF returned subprocess
2020
expected_output_as_bytes = expected_output.encode(encoding='UTF-8')

0 commit comments

Comments
 (0)