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 tests #3

Merged
merged 33 commits into from
Feb 3, 2022
Merged

Add tests #3

merged 33 commits into from
Feb 3, 2022

Conversation

quaxsze
Copy link
Contributor

@quaxsze quaxsze commented Jan 14, 2022

@quaxsze quaxsze requested a review from maudetes January 18, 2022 12:22
@quaxsze
Copy link
Contributor Author

quaxsze commented Jan 18, 2022

Filters need to be reviewed after this PR is merged I think, as the fields will change.

Copy link
Contributor

@maudetes maudetes left a comment

Choose a reason for hiding this comment

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

Thank you! I merged main on this PR, thus changing Dockerfile location and updating docker-compose.

I haven't taken the time to look over this PR in detail yet, but here are some notes :)

Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
docker-compose.yml Outdated Show resolved Hide resolved
requirements.txt Show resolved Hide resolved
app/infrastructure/services.py Outdated Show resolved Hide resolved
@quaxsze quaxsze changed the title Add tests and DockerFile Add tests Jan 20, 2022
@quaxsze quaxsze requested a review from maudetes January 20, 2022 10:53
def create_index(self) -> None:
pass
@pytest.fixture(autouse=True)
def db(search_client):
Copy link
Contributor

Choose a reason for hiding this comment

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

Does it means that you're deleting dev indices when you run the tests? We could use index names with test in it?

tests/test_search_client.py Show resolved Hide resolved
tests/test_search_client.py Outdated Show resolved Hide resolved
tests/test_search_client.py Outdated Show resolved Hide resolved
tests/test_search_client.py Outdated Show resolved Hide resolved
app/infrastructure/search_clients.py Show resolved Hide resolved
app/presentation/api.py Outdated Show resolved Hide resolved
app/presentation/api.py Show resolved Hide resolved
app/infrastructure/search_clients.py Outdated Show resolved Hide resolved
app/infrastructure/search_clients.py Outdated Show resolved Hide resolved
@quaxsze quaxsze requested a review from maudetes January 31, 2022 10:24
@quaxsze quaxsze requested a review from maudetes February 2, 2022 14:14
@quaxsze quaxsze merged commit b689cca into main Feb 3, 2022
@quaxsze quaxsze deleted the addTests branch February 3, 2022 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants