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

Create tests for Workflows endpoint #14

Open
1 task
allardbrain opened this issue May 2, 2020 · 0 comments
Open
1 task

Create tests for Workflows endpoint #14

allardbrain opened this issue May 2, 2020 · 0 comments
Labels

Comments

@allardbrain
Copy link
Owner

This endpoint in the ClubhouseClient class in api.py needs to have a test created:

  • list_workflows()

When tests should fail

  • The request URL did not match the URL for the endpoint
  • The HTTP method in the request did not match what is required by the endpoint
  • Required argument(s) was(were) not provided
  • Argument(s) was(were) not of the right type
  • An integer supplied as an argument is smaller than 1

When tests should succeed

  • The request URL matched the URL for the endpoint
  • The HTTP method in the request matched what is required by the endpoint
  • The required argument(s) was(were) provided
  • Argument(s) was/(were) of the correct type
  • An integer supplied as an argument is equal to or greater than 1
@allardbrain allardbrain added good first issue Good for newcomers cleanup labels May 2, 2020
@allardbrain allardbrain added help wanted Extra attention is needed testing and removed cleanup good first issue Good for newcomers help wanted Extra attention is needed labels May 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant