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: Added unit tests related to JournalEntryModel #187

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

PieterCK
Copy link
Contributor

Tests added here uses some helper methods from my other PR : https://github.com/arrobalytics/django-ledger/pull/186.

The creation and displaying of transactions are done through some Journal Entry URLs and views, so these tests I thought are more appropriate to be categorized as Journal Entry unit tests.

Added a unit test to check:

  • protected views in all Journal Entry URLs.
  • Journal Entry Detail View displays correct transactions

image

@elarroba elarroba self-assigned this Feb 29, 2024
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