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 hacknight list endpoint(fixes #123) #145

Merged

Conversation

stanislawK
Copy link
Contributor

To check it:

  • make populate_database
    Using e.g. postman:
  • login with username shown after execution of populate database command, and password: "pass123"
  • copy "access_token" from response body
  • go to: "http://0.0.0.0:5000/hacknights/" with fallowing Headers:
    "Authorization": "Bearer yours_copied_access_token"
  • as a response you should get list of hacknights with date and id keys

To run tests:

  • make start
  • make bash
  • inside bash shell execute: pytest --disable-warnings

@w1stler
Copy link
Member

w1stler commented Aug 7, 2019

Resolve conflict and we're good to go!

@w1stler w1stler merged commit 29e7ab9 into CodeForPoznan:master Aug 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants