Skip to content

test: write tests for the repository model #2

@ankan17

Description

@ankan17

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions