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

Adding unit test for comparing json file #4

Merged
merged 21 commits into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
89f4967
Modifing the adding of text on the request
SamuelPelletierEvraire Apr 2, 2024
f6c1610
Adding method for saving result in json file
SamuelPelletierEvraire Apr 2, 2024
f807632
correcting error
SamuelPelletierEvraire Apr 2, 2024
fc6517e
adding get_all_json_test_file that get all the test file of the folde…
SamuelPelletierEvraire Apr 2, 2024
6854d86
adding test similarity but not working for now
SamuelPelletierEvraire Apr 2, 2024
d679a78
Formatting of data in json file (now working)
SamuelPelletierEvraire Apr 3, 2024
b784d89
New issue with the keynotfound
SamuelPelletierEvraire Apr 4, 2024
77735dc
Add new images and remove testWithBaseQuestion.py
SamuelPelletierEvraire Apr 4, 2024
e41799a
Add images and remove test_app.py + add comment on app.py file
SamuelPelletierEvraire Apr 9, 2024
e0f0adf
Modifing the app.py so that it work with the workflow
SamuelPelletierEvraire Apr 10, 2024
8b5332f
save
SamuelPelletierEvraire Apr 10, 2024
a3c39b4
Update app.py
SamuelPelletierEvraire Apr 12, 2024
b15edb8
issue#5 changing \\ for /
SamuelPelletierEvraire Apr 12, 2024
f6e1136
Merge branch 'UnitTest' of https://github.com/ai-cfia/harvester-proto…
SamuelPelletierEvraire Apr 12, 2024
74022f4
issue#5: changing all naming nomenclature
SamuelPelletierEvraire Apr 12, 2024
17218e4
issue#5: changing the name of the picture to be more clear
SamuelPelletierEvraire Apr 12, 2024
bdc4b55
Merge branch 'main' into UnitTest
SamuelPelletierEvraire Apr 12, 2024
a00f508
issue #5: changing == None to is None
SamuelPelletierEvraire Apr 12, 2024
338fd8d
Merge branch 'UnitTest' of https://github.com/ai-cfia/harvester-proto…
SamuelPelletierEvraire Apr 12, 2024
0aedb4a
issue #5: modifyng is to ==
SamuelPelletierEvraire Apr 12, 2024
b619ae3
issue #5: != to is not
SamuelPelletierEvraire Apr 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .gitignore
SamuelPelletierEvraire marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
keys.json
questions.json
*.json
keys_questions.txt
questions_spreadsheet.csv
base_composition_questions.csv
Binary file added Company_Image_Folder/Balancer/back.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Company_Image_Folder/Balancer/front.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 0 additions & 21 deletions Tests/testWithBaseQuestion.py

This file was deleted.

Empty file removed Tests/testWithModifiedQuestion.py
Empty file.
Binary file added __pycache__/app.cpython-312.pyc
Binary file not shown.
351 changes: 261 additions & 90 deletions app.py

Large diffs are not rendered by default.

53 changes: 0 additions & 53 deletions keys_questions.txt

This file was deleted.

Binary file not shown.