Skip to content

Correctness Test#39

Draft
robbassi wants to merge 1 commit into
masterfrom
correctness-test
Draft

Correctness Test#39
robbassi wants to merge 1 commit into
masterfrom
correctness-test

Conversation

@robbassi

@robbassi robbassi commented Oct 9, 2020

Copy link
Copy Markdown
Owner

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
Copy Markdown
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