anitab-org / anitab-forms-backend

AnitaB Forms (backend), an application to process smaller 4-week or full day programs to contribute to open source projects. Similar to GSoC, Outreachy, or RGSoC. This is the backend app.
GNU General Public License v3.0
18 stars 58 forks source link

tests: Add test for views of token_auth #63

Open codesankalp opened 3 years ago

codesankalp commented 3 years ago

Is your feature request related to a problem? Please describe.

Add test code for the views in token_auth to test all the views in the token_auth app.

Describe the solution you'd like

Definition of Done

Additional context

Estimation

4 hours

codesankalp commented 3 years ago

@isabelcosta Can you please label this issue?

jalajcodes commented 3 years ago

I'd like to work on it... @isabelcosta

codesankalp commented 3 years ago

@jalajcodes Can you update me about your progress?

jalajcodes commented 3 years ago

@jalajcodes Can you update me about your progress?

Will create a PR soon, btw I am not sure how to test TokenObtainPairView and TokenRefreshView 😅 ,any hints?

codesankalp commented 3 years ago

@jalajcodes Just test that API of TokenObtainPairView and TokenRefreshView is giving token or not when making the request from client.

codesankalp commented 3 years ago

@jalajcodes Any updates?

jalajcodes commented 3 years ago

@jalajcodes Any updates?

I am currently working on a issue in stem-diverse-tv-cms , so feel free to assign this one to someone else, or if it's still available I'll take it up after that. Sorry for the inconvenience.