Skip to content

Commit 8123d29

Browse files
Merge pull request #35 from tomorrowdevs-projects/fix-test-22
fix test 22
2 parents 36dcffa + bc877ad commit 8123d29

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/022-admission-price/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ python -m unittest python/test_admission_price.py
3737
```
3838

3939
or run the command from the terminal
40-
`python -m unittest projects/m1/022-admission-price/python/test_admission_price.py`
40+
`python -m unittest projects/022-admission-price/python/test_admission_price.py`
4141

4242

4343
# Deadline

projects/022-admission-price/python/test_admission_price.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def test_ok(self, mock_inputs):
2323
Check if return the correct result
2424
"""
2525

26-
mock_inputs.side_effect = [1.5, 2, 3, 50, '']
26+
mock_inputs.side_effect = [1, 2, 3, 50, '']
2727

2828
with patch('sys.stdout', new_callable=io.StringIO) as mock_print:
2929
sys.modules.pop(self.module_name, None)

0 commit comments

Comments
 (0)