There was an error while loading. Please reload this page.
1 parent e4ead4a commit 3e14cefCopy full SHA for 3e14cef
1 file changed
tests/test_strategy.py
@@ -14,7 +14,7 @@ def test_print_output(self):
14
"""
15
output = subprocess.check_output(["python", "behavioral/strategy.py"])
16
expected_output = os.linesep.join(
17
- ['Strategy Example 0', 'Strategy Example 1 from execute 1', 'Strategy Example 2 from execute 2', '']
+ ['<Price: 100, price after discount: 100>', '<Price: 100, price after discount: 90.0>', '<Price: 1000, price after discount: 730.0>', '']
18
)
19
# byte representation required due to EOF returned subprocess
20
expected_output_as_bytes = expected_output.encode(encoding='UTF-8')
0 commit comments