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

test: write tests for the repository model #2

Open
5 tasks
ankan17 opened this issue Apr 3, 2018 · 0 comments
Open
5 tasks

test: write tests for the repository model #2

ankan17 opened this issue Apr 3, 2018 · 0 comments
Labels
difficulty: easy Solving this issue is easy

Comments

@ankan17
Copy link
Collaborator

ankan17 commented Apr 3, 2018

Sample tests are present in core/tests.py. Write similar tests to test the Repository model.

Tests should include:

  • Test the owner label
  • Test the repo label
  • Test the is_fork label
  • Test the __str__ method
  • Test that the verbose_name_plural meta property is set as 'Repositories'
@ankan17 ankan17 changed the title tests: write tests for the repository model test: write tests for the repository model Apr 3, 2018
@ankan17 ankan17 added the difficulty: easy Solving this issue is easy label Apr 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: easy Solving this issue is easy
Projects
None yet
Development

No branches or pull requests

1 participant