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

Correctness Test #39

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Correctness Test #39

wants to merge 1 commit into from

Conversation

robbassi
Copy link
Owner

@robbassi robbassi commented Oct 9, 2020

This PR adds the correctness test developed by @amackillop.

@robbassi robbassi marked this pull request as draft October 9, 2020 15:02
res = self.client.get(f"/kvs/{key}")
if res.status_code == 404:
assert self.model.get(key, None) == None
else:
Copy link
Owner Author

Choose a reason for hiding this comment

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

I added the else here, since our service returns a JSON message when a key is not found, instead of None.

@yianni yianni added the enhancement New feature or request label Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants