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

test: added tests #250

Merged
merged 27 commits into from
Jul 16, 2023
Merged

test: added tests #250

merged 27 commits into from
Jul 16, 2023

Conversation

cachho
Copy link
Contributor

@cachho cachho commented Jul 12, 2023

some of these are smart, some are more simple. But better than nothing I guess.

tests/chunkers/test_text.py Outdated Show resolved Hide resolved
@@ -0,0 +1,46 @@
# ruff: noqa: E501
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any specific reason to add this? :D

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise it complains about all the doc strings.

@@ -0,0 +1,26 @@
# ruff: noqa: E501
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove this from all the test files. We only want to specific specific lines and not all of the file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's going to be a lot of lines and decrease readability.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discussed offline with @cachho and we are going to increase the line length to 120 chars.

@taranjeet
Copy link
Member

@deshraj waiting for your review, since you are driving adding tests feature.

@deshraj deshraj merged commit 3f71050 into embedchain:main Jul 16, 2023
cachho added a commit to cachho/embedchain that referenced this pull request Jul 26, 2023
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

3 participants