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

Transaction TestCase does not have the helper functions found in TestCase #1949

Closed
smk4664 opened this issue Jun 23, 2022 · 1 comment · Fixed by #1954
Closed

Transaction TestCase does not have the helper functions found in TestCase #1949

smk4664 opened this issue Jun 23, 2022 · 1 comment · Fixed by #1954
Labels
type: feature Introduction of new or enhanced functionality to the application type: housekeeping Changes to the application which do not directly impact the end user
Milestone

Comments

@smk4664
Copy link
Contributor

smk4664 commented Jun 23, 2022

Environment

  • Python version: 3.8
  • Nautobot version: 1.3.4

Steps to Reproduce

  1. Create a test that uses TransactionTestCase
  2. Try to call self.add_permissions("dcim.add_manufacturer") in that test.

Expected Behavior

The Test will add the permission that was requested to be used during testing.

Observed Behavior

TransactionTestCase does not contain the method add_permissions.

@bryanculver bryanculver added type: housekeeping Changes to the application which do not directly impact the end user type: feature Introduction of new or enhanced functionality to the application labels Jun 28, 2022
@bryanculver bryanculver added this to the v1.4.0 milestone Jul 12, 2022
@bryanculver
Copy link
Member

Closed in #1954

bryanculver added a commit that referenced this issue Jul 12, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: feature Introduction of new or enhanced functionality to the application type: housekeeping Changes to the application which do not directly impact the end user
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants