-
Notifications
You must be signed in to change notification settings - Fork 35
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
Write tests for the app #31
Comments
Please refer to my fork before going through this comment. backend/utils/utils.py:15: in <module>
bible = gutenberg.raw('bible-kjv.txt')
myenv/lib/python3.12/site-packages/nltk/corpus/reader/api.py:219: in raw
contents.append(fp.read())
myenv/lib/python3.12/site-packages/nltk/data.py:1139: in read
chars = self._read(size)
myenv/lib/python3.12/site-packages/nltk/data.py:1425: in _read
bytes = self.bytebuffer + new_bytes
E TypeError: can't concat str to bytes AND [nltk_data] Downloading package gutenberg to /home/rajat/nltk_data...
[nltk_data] Unzipping corpora/gutenberg.zip.
[nltk_data] [Errno 2] No such file or directory:
[nltk_data] '/home/rajat/nltk_data/corpora/gutenberg.zip'
fixes as follows:
|
hi @rajatkriplani which fork are you referring to can you please link it ? |
You can check the test_app.py here. |
hi @rajatkriplani when are you available? ping me in discord |
@JustinhSE @Namit2111 I think we should break this issue into two, for writing tests for the Frontend and another for Backend tests, then we can consolidate the check via a CI workflow |
@d-beloved sorry for the delayed response but feel free to open 2 issues for testing if you would like! |
@d-beloved do you want me to delete this and make a friont end and backend issue for this? |
Oh Justin, sorry I forgot this. You can pls create the issues, I'll get it
next week.
…On Fri, Dec 6, 2024, 05:33 Justin H ***@***.***> wrote:
@d-beloved <https://github.com/d-beloved> do you want me to delete this
and make a friont end and backend issue for this?
—
Reply to this email directly, view it on GitHub
<#31 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGKJ24ZCW72H73CLITQBTV32EESIBAVCNFSM6AAAAABP7WTYDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRSGEYDCMRVGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
alright great! |
@Namit2111 this is your expertise as I am unsure what you would want in both issues. Let me know and I will write up both issues! |
We need tests for the whole app including backend and frontend that we can run on PR before merging them.
The text was updated successfully, but these errors were encountered: