-
Notifications
You must be signed in to change notification settings - Fork 310
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
BUG: Clubs shouldn't be able to book more than 12 places per competition #4
Comments
PabloLec
added a commit
to PabloLec/oc_gudlift
that referenced
this issue
Jul 6, 2021
RafaRemote
pushed a commit
to RafaRemote/oc_python_p11_testing
that referenced
this issue
Dec 23, 2021
…e - fix and tests - UI: welcome.html: link 'book' not available when no more place to book for competition - UI: booking.html: HTML input for booking: max is set dynamically, depending on club['points'], competition['numberOfPlaces'] and maximum places to book - Tests: test_should_not_book_over_limit - Tests: test_should_not_book_negative_places
RafaRemote
pushed a commit
to RafaRemote/oc_python_p11_testing
that referenced
this issue
Dec 23, 2021
…le - Tests Improvements - Tests: class TestEndPoints: test_book_authenticated_user_should_200 - Tests: class TestEndPoints: test_book_unauthenticated_user_should_get_wrong - Tests: class TestPurchase: test_should_bad_request_keys_400 - Tests: class TestPurchase: test_should_bad_request_values_400 - Tests: class TestPurchase: test_should_bad_request_empty_values_400
mjeammet
added a commit
to mjeammet/DAPY-P11_gudlft
that referenced
this issue
Dec 28, 2021
zionhigt
referenced
this issue
in zionhigt/Python_Testing
Mar 27, 2022
Luc-Aka-Evy
added a commit
to Luc-Aka-Evy/Gudlift
that referenced
this issue
May 19, 2022
Aponovi
added a commit
to Aponovi/Python_Testing
that referenced
this issue
May 30, 2022
Aponovi
added a commit
to Aponovi/Python_Testing
that referenced
this issue
May 30, 2022
SelHel
added a commit
to SelHel/Python_Testing
that referenced
this issue
Jun 9, 2022
SelHel
added a commit
to SelHel/Python_Testing
that referenced
this issue
Jun 13, 2022
SelHel
added a commit
to SelHel/Python_Testing
that referenced
this issue
Jun 13, 2022
jogubo
pushed a commit
to jogubo/oc-python-testing
that referenced
this issue
Jun 13, 2022
jogubo
pushed a commit
to jogubo/oc-python-testing
that referenced
this issue
Jun 13, 2022
SelHel
added a commit
to SelHel/Python_Testing
that referenced
this issue
Jun 14, 2022
SelHel
added a commit
to SelHel/Python_Testing
that referenced
this issue
Jun 14, 2022
pVerneuil
referenced
this issue
in pVerneuil/P11_Python_Testing
Jun 17, 2022
Deadjuju
added a commit
to Deadjuju/P11_OC_Python_Testing
that referenced
this issue
Jul 11, 2022
Places are limited to 12 per club for a competition Issue OpenClassrooms-Student-Center#4
Deadjuju
added a commit
to Deadjuju/P11_OC_Python_Testing
that referenced
this issue
Jul 11, 2022
tchou93
added a commit
to tchou93/OCR_PYTHON_P11
that referenced
this issue
Sep 15, 2022
Issue OpenClassrooms-Student-Center#4 Fixed Issue OpenClassrooms-Student-Center#6 Fixed Some parts of the tree structure for the tests have been modified.
ghost
mentioned this issue
Oct 24, 2022
Rossignol-h
added a commit
to Rossignol-h/P11_Python_Testing
that referenced
this issue
Nov 5, 2022
Rossignol-h
added a commit
to Rossignol-h/P11_Python_Testing
that referenced
this issue
Nov 5, 2022
* feat(board.html): add template for points display board * feat(server): add route for points display board * feat(board.html): complete template * test(test_points_board): start testing happy path * feat(board.html): add condition if no clubs in json * test(test_points_board): add sad path to test * test(units/): add test_unlimited_points.py * fix(server): add condition to limit purchase * fix(booking.html): add display of flash message * test(units/): test_unlimited_points.py passed * test(units/): change docstrings in test_unlimited_points.py * test(units/): done test_unlimited_points.py * fix(issue): [OpenClassrooms-Student-Center#2] * test(units/): add test_points_not_update.py with TDD approch added test and failed * fix(server): add substraction points after book places * test(units/): run test_points_not_update.py and passed * fix(issue): [OpenClassrooms-Student-Center#6] * test(units/): add test_book_under_12.py with TDD method: started with failed test * fix(server): add condition if book more 12 places * test(units/): complete test_book_under_12.py and run tests passed * fix(issue): [OpenClassrooms-Student-Center#4]
Rossignol-h
added a commit
to Rossignol-h/P11_Python_Testing
that referenced
this issue
Nov 5, 2022
* feat(board.html): add template for points display board * feat(server): add route for points display board * feat(board.html): complete template * test(test_points_board): start testing happy path * feat(board.html): add condition if no clubs in json * test(test_points_board): add sad path to test * test(units/): add test_unlimited_points.py * fix(server): add condition to limit purchase * fix(booking.html): add display of flash message * test(units/): test_unlimited_points.py passed * test(units/): change docstrings in test_unlimited_points.py * test(units/): done test_unlimited_points.py * fix(issue): [OpenClassrooms-Student-Center#2] * test(units/): add test_points_not_update.py with TDD approch added test and failed * fix(server): add substraction points after book places * test(units/): run test_points_not_update.py and passed * fix(issue): [OpenClassrooms-Student-Center#6] * test(units/): add test_book_under_12.py with TDD method: started with failed test * fix(server): add condition if book more 12 places * test(units/): complete test_book_under_12.py and run tests passed * fix(issue): [OpenClassrooms-Student-Center#4] * test(functional/): add & complete test_route.py * fix(404.html): add 404 handler and template * fix(500.html): add 500 handler and template * test(functional/): add & complete test_load_json.py
Rossignol-h
added a commit
to Rossignol-h/P11_Python_Testing
that referenced
this issue
Nov 6, 2022
* feat(board.html): add template for points display board * feat(server): add route for points display board * feat(board.html): complete template * test(test_points_board): start testing happy path * feat(board.html): add condition if no clubs in json * test(test_points_board): add sad path to test * test(units/): add test_unlimited_points.py * fix(server): add condition to limit purchase * fix(booking.html): add display of flash message * test(units/): test_unlimited_points.py passed * test(units/): change docstrings in test_unlimited_points.py * test(units/): done test_unlimited_points.py * fix(issue): [OpenClassrooms-Student-Center#2] * test(units/): add test_points_not_update.py with TDD approch added test and failed * fix(server): add substraction points after book places * test(units/): run test_points_not_update.py and passed * fix(issue): [OpenClassrooms-Student-Center#6] * test(units/): add test_book_under_12.py with TDD method: started with failed test * fix(server): add condition if book more 12 places * test(units/): complete test_book_under_12.py and run tests passed * fix(issue): [OpenClassrooms-Student-Center#4] * test(functional/): add & complete test_route.py * fix(404.html): add 404 handler and template * fix(500.html): add 500 handler and template * test(functional/): add & complete test_load_json.py * test(integration/): add & complete test of app * fix(server): issue book more than places available * test(integration/): cleanup test_app
Rossignol-h
added a commit
to Rossignol-h/P11_Python_Testing
that referenced
this issue
Nov 8, 2022
* feat(board.html): add template for points display board * feat(server): add route for points display board * feat(board.html): complete template * test(test_points_board): start testing happy path * feat(board.html): add condition if no clubs in json * test(test_points_board): add sad path to test * test(units/): add test_unlimited_points.py * fix(server): add condition to limit purchase * fix(booking.html): add display of flash message * test(units/): test_unlimited_points.py passed * test(units/): change docstrings in test_unlimited_points.py * test(units/): done test_unlimited_points.py * fix(issue): [OpenClassrooms-Student-Center#2] * test(units/): add test_points_not_update.py with TDD approch added test and failed * fix(server): add substraction points after book places * test(units/): run test_points_not_update.py and passed * fix(issue): [OpenClassrooms-Student-Center#6] * test(units/): add test_book_under_12.py with TDD method: started with failed test * fix(server): add condition if book more 12 places * test(units/): complete test_book_under_12.py and run tests passed * fix(issue): [OpenClassrooms-Student-Center#4] * test(functional/): add & complete test_route.py * fix(404.html): add 404 handler and template * fix(500.html): add 500 handler and template * test(functional/): add & complete test_load_json.py * test(integration/): add & complete test of app * fix(server): issue book more than places available * test(integration/): cleanup test_app * test(coverage/): make changes to have 100% test coverage
Rossignol-h
added a commit
to Rossignol-h/P11_Python_Testing
that referenced
this issue
Nov 8, 2022
* feat(board.html): add template for points display board * feat(server): add route for points display board * feat(board.html): complete template * test(test_points_board): start testing happy path * feat(board.html): add condition if no clubs in json * test(test_points_board): add sad path to test * test(units/): add test_unlimited_points.py * fix(server): add condition to limit purchase * fix(booking.html): add display of flash message * test(units/): test_unlimited_points.py passed * test(units/): change docstrings in test_unlimited_points.py * test(units/): done test_unlimited_points.py * fix(issue): [OpenClassrooms-Student-Center#2] * test(units/): add test_points_not_update.py with TDD approch added test and failed * fix(server): add substraction points after book places * test(units/): run test_points_not_update.py and passed * fix(issue): [OpenClassrooms-Student-Center#6] * test(units/): add test_book_under_12.py with TDD method: started with failed test * fix(server): add condition if book more 12 places * test(units/): complete test_book_under_12.py and run tests passed * fix(issue): [OpenClassrooms-Student-Center#4] * test(functional/): add & complete test_route.py * fix(404.html): add 404 handler and template * fix(500.html): add 500 handler and template * test(functional/): add & complete test_load_json.py * test(integration/): add & complete test of app * fix(server): issue book more than places available * test(integration/): cleanup test_app * test(coverage/): make changes to have 100% test coverage * test(requirements.txt): install Locust * test(performance/): configure locust * test(performance/): add README
Rossignol-h
added a commit
to Rossignol-h/P11_Python_Testing
that referenced
this issue
Nov 12, 2022
* feat(board.html): add template for points display board * feat(server): add route for points display board * feat(board.html): complete template * test(test_points_board): start testing happy path * feat(board.html): add condition if no clubs in json * test(test_points_board): add sad path to test * test(units/): add test_unlimited_points.py * fix(server): add condition to limit purchase * fix(booking.html): add display of flash message * test(units/): test_unlimited_points.py passed * test(units/): change docstrings in test_unlimited_points.py * test(units/): done test_unlimited_points.py * fix(issue): [OpenClassrooms-Student-Center#2] * test(units/): add test_points_not_update.py with TDD approch added test and failed * fix(server): add substraction points after book places * test(units/): run test_points_not_update.py and passed * fix(issue): [OpenClassrooms-Student-Center#6] * test(units/): add test_book_under_12.py with TDD method: started with failed test * fix(server): add condition if book more 12 places * test(units/): complete test_book_under_12.py and run tests passed * fix(issue): [OpenClassrooms-Student-Center#4] * test(functional/): add & complete test_route.py * fix(404.html): add 404 handler and template * fix(500.html): add 500 handler and template * test(functional/): add & complete test_load_json.py * test(integration/): add & complete test of app * fix(server): issue book more than places available * test(integration/): cleanup test_app * test(coverage/): make changes to have 100% test coverage * test(requirements.txt): install Locust * test(performance/): configure locust * test(performance/): add README * refactor(app): flake8 html report 100% clean * refactor(app): remove unused fixtures
Rossignol-h
added a commit
to Rossignol-h/P11_Python_Testing
that referenced
this issue
Nov 12, 2022
* feat(board.html): add template for points display board * feat(server): add route for points display board * feat(board.html): complete template * test(test_points_board): start testing happy path * feat(board.html): add condition if no clubs in json * test(test_points_board): add sad path to test * test(units/): add test_unlimited_points.py * fix(server): add condition to limit purchase * fix(booking.html): add display of flash message * test(units/): test_unlimited_points.py passed * test(units/): change docstrings in test_unlimited_points.py * test(units/): done test_unlimited_points.py * fix(issue): [OpenClassrooms-Student-Center#2] * test(units/): add test_points_not_update.py with TDD approch added test and failed * fix(server): add substraction points after book places * test(units/): run test_points_not_update.py and passed * fix(issue): [OpenClassrooms-Student-Center#6] * test(units/): add test_book_under_12.py with TDD method: started with failed test * fix(server): add condition if book more 12 places * test(units/): complete test_book_under_12.py and run tests passed * fix(issue): [OpenClassrooms-Student-Center#4] * test(functional/): add & complete test_route.py * fix(404.html): add 404 handler and template * fix(500.html): add 500 handler and template * test(functional/): add & complete test_load_json.py * test(integration/): add & complete test of app * fix(server): issue book more than places available * test(integration/): cleanup test_app * test(coverage/): make changes to have 100% test coverage * test(requirements.txt): install Locust * test(performance/): configure locust * test(performance/): add README * refactor(app): flake8 html report 100% clean * refactor(app): remove unused fixtures * fix(welcome.hmtl): adde operator = to fix bug
Rossignol-h
added a commit
to Rossignol-h/P11_Python_Testing
that referenced
this issue
Nov 13, 2022
* feat(board.html): add template for points display board * feat(server): add route for points display board * feat(board.html): complete template * test(test_points_board): start testing happy path * feat(board.html): add condition if no clubs in json * test(test_points_board): add sad path to test * test(units/): add test_unlimited_points.py * fix(server): add condition to limit purchase * fix(booking.html): add display of flash message * test(units/): test_unlimited_points.py passed * test(units/): change docstrings in test_unlimited_points.py * test(units/): done test_unlimited_points.py * fix(issue): [OpenClassrooms-Student-Center#2] * test(units/): add test_points_not_update.py with TDD approch added test and failed * fix(server): add substraction points after book places * test(units/): run test_points_not_update.py and passed * fix(issue): [OpenClassrooms-Student-Center#6] * test(units/): add test_book_under_12.py with TDD method: started with failed test * fix(server): add condition if book more 12 places * test(units/): complete test_book_under_12.py and run tests passed * fix(issue): [OpenClassrooms-Student-Center#4] * test(functional/): add & complete test_route.py * fix(404.html): add 404 handler and template * fix(500.html): add 500 handler and template * test(functional/): add & complete test_load_json.py * test(integration/): add & complete test of app * fix(server): issue book more than places available * test(integration/): cleanup test_app * test(coverage/): make changes to have 100% test coverage * test(requirements.txt): install Locust * test(performance/): configure locust * test(performance/): add README * refactor(app): flake8 html report 100% clean * refactor(app): remove unused fixtures * fix(welcome.hmtl): adde operator = to fix bug
Rossignol-h
added a commit
to Rossignol-h/P11_Python_Testing
that referenced
this issue
Nov 13, 2022
* feat(board.html): add template for points display board * feat(server): add route for points display board * feat(board.html): complete template * test(test_points_board): start testing happy path * feat(board.html): add condition if no clubs in json * test(test_points_board): add sad path to test * test(units/): add test_unlimited_points.py * fix(server): add condition to limit purchase * fix(booking.html): add display of flash message * test(units/): test_unlimited_points.py passed * test(units/): change docstrings in test_unlimited_points.py * test(units/): done test_unlimited_points.py * fix(issue): [OpenClassrooms-Student-Center#2] * test(units/): add test_points_not_update.py with TDD approch added test and failed * fix(server): add substraction points after book places * test(units/): run test_points_not_update.py and passed * fix(issue): [OpenClassrooms-Student-Center#6] * test(units/): add test_book_under_12.py with TDD method: started with failed test * fix(server): add condition if book more 12 places * test(units/): complete test_book_under_12.py and run tests passed * fix(issue): [OpenClassrooms-Student-Center#4] * test(functional/): add & complete test_route.py * fix(404.html): add 404 handler and template * fix(500.html): add 500 handler and template * test(functional/): add & complete test_load_json.py * test(integration/): add & complete test of app * fix(server): issue book more than places available * test(integration/): cleanup test_app * test(coverage/): make changes to have 100% test coverage * test(requirements.txt): install Locust * test(performance/): configure locust * test(performance/): add README * refactor(app): flake8 html report 100% clean * refactor(app): remove unused fixtures * fix(welcome.hmtl): adde operator = to fix bug * style(app): add css
Mattgris6
added a commit
to Mattgris6/OC_DAPython_Projet11_Gudlft
that referenced
this issue
Nov 17, 2022
selaouni
added a commit
to selaouni/Projet11
that referenced
this issue
Dec 5, 2022
selaouni
added a commit
to selaouni/Projet11
that referenced
this issue
Dec 5, 2022
selaouni
added a commit
to selaouni/Projet11
that referenced
this issue
Dec 8, 2022
VisualDev-FR
added a commit
to VisualDev-FR/openclassrooms-P11
that referenced
this issue
Apr 21, 2023
VisualDev-FR
added a commit
to VisualDev-FR/openclassrooms-P11
that referenced
this issue
Apr 21, 2023
JLenseele
added a commit
to JLenseele/Project_11
that referenced
this issue
Apr 27, 2023
…tween club points & 12
Nemesix493
added a commit
to Nemesix493/P11_Python_Testing
that referenced
this issue
May 9, 2023
to respect the app specifications and closes some issues Resolves OpenClassrooms-Student-Center#2, resolves OpenClassrooms-Student-Center#4, resolves OpenClassrooms-Student-Center#5, resolves OpenClassrooms-Student-Center#6,
EnguerrandF
added a commit
to EnguerrandF/Projet_11
that referenced
this issue
May 17, 2023
This was referenced Jan 29, 2024
Closed
AlexBotswana
added a commit
to AlexBotswana/Python_Testing
that referenced
this issue
Feb 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When:
A secretary tries to book more than 12 places in one competition
Then:
Those places are confirmed
Expected:
The text was updated successfully, but these errors were encountered: