Skip to content

Commit

Permalink
[chore] Fixed failing test for sample app
Browse files Browse the repository at this point in the history
  • Loading branch information
pandafy committed Jul 5, 2021
1 parent db7bc6a commit 4d036d1
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
from django.db import migrations

from openwisp_controller.config.migrations import assign_permissions_to_groups
from openwisp_controller.config.migrations import (
assign_devicegroup_permissions_to_groups,
assign_permissions_to_groups,
)


class Migration(migrations.Migration):
Expand All @@ -9,5 +12,9 @@ class Migration(migrations.Migration):
operations = [
migrations.RunPython(
assign_permissions_to_groups, reverse_code=migrations.RunPython.noop
)
),
migrations.RunPython(
assign_devicegroup_permissions_to_groups,
reverse_code=migrations.RunPython.noop,
),
]

0 comments on commit 4d036d1

Please sign in to comment.