Skip to content

Commit

Permalink
updated code as per comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vipulnarang95 committed Mar 13, 2024
1 parent 2fded73 commit b64092c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Unreleased
* Python 3.10 support added
* Python 3.7 support removed
* Django 4.2 support added
* Djanjo 2.2 support removed

1.8.3 (2024-03-06)
==================
Expand Down
4 changes: 4 additions & 0 deletions tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@

def run():
from app_helper import runner
from djangocms_navigation.compat import DJANGO_4_2
from cms.test_utils.testcases import CMSTestCase
runner.cms("djangocms_navigation", extra_args=[])
if not DJANGO_4_2:
CMSTestCase.assertQuerySetEqual = CMSTestCase.assertQuerysetEqual


if __name__ == "__main__":
Expand Down
4 changes: 0 additions & 4 deletions tests/test_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@
from .utils import UsefulAssertsMixin, disable_versioning_for_navigation


if not DJANGO_4_2:
CMSTestCase.assertQuerySetEqual = CMSTestCase.assertQuerysetEqual


class MenuItemChangelistTestCase(CMSTestCase):
def setUp(self):
self.user = self.get_superuser()
Expand Down

0 comments on commit b64092c

Please sign in to comment.