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

Add unit test for .add() and .query() function #209

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

deshraj
Copy link
Collaborator

@deshraj deshraj commented Jul 10, 2023

Currently, it looks like there are no tests for embedchain python package. Adding basic test case for now that tests the .add() and .query() class for now.

Test results:

(base) ➜  embedchain git:(add-basic-test) pytest
====================================================================================== test session starts ======================================================================================
platform darwin -- Python 3.8.8, pytest-6.2.3, py-1.10.0, pluggy-0.13.1
rootdir: /Users/deshrajyadav/Projects/embedchain
plugins: anyio-3.7.0
collected 2 items                                                                                                                                                                               

tests/test_embedchain.py ..                                                                                                                                                               [100%]

======================================================================================= 2 passed in 2.42s =======================================================================================

@deshraj deshraj changed the title Add basic unit test for embedchain Add unit test for .add() and .query() function Jul 10, 2023
@taranjeet taranjeet merged commit 8674297 into mem0ai:main Jul 10, 2023
@taranjeet
Copy link
Member

Good initiative @deshraj . Merged PR.

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

Successfully merging this pull request may close these issues.

None yet

2 participants