Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect test - Part 11 - Ex. OrderBook #62

Open
emitrofanova opened this issue Aug 14, 2022 · 0 comments
Open

Incorrect test - Part 11 - Ex. OrderBook #62

emitrofanova opened this issue Aug 14, 2022 · 0 comments

Comments

@emitrofanova
Copy link

Hello!
I wrote a program that passed all tests except for this one:

OrderBookPart3Test: test_1_mark_finished
When executing the following code 
t = OrderBook()
t.add_order("program web store", "Andy", 10)
t.mark_finished(1)
t.all_orders()

method should return a list containing following tasks
program web store (Andy hours), programmer 10 FINISHED
now return was
1: program web store (10 hours), programmer Andy FINISHED

and the similar one more:

OrderBookPart3Test: test_4_finished
When executing the following code 
t = OrderBook()
t.add_order("program web store", "Andy", 10)
t.mark_finished(1)
t.finished_orders()

method should return a list containing following tasks
program web store (Andy hours), programmer 10 FINISHED
now return was
1: program web store (10 hours), programmer Andy FINISHED

But the answer that is printed above is even grammatically incorrect: "Andy hours" (?), "programmer 10" (?).
Please take a look at these tests, I think there are some mistakes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant