Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #241 from edx/hasnain-naveed/YONK-1924
Browse files Browse the repository at this point in the history
YONK-1924 | Fixed the unit test cases.
  • Loading branch information
hasnain-naveed authored Mar 5, 2021
2 parents ff07694 + 29913bc commit f1b7ee0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion edx_notifications/server/api/tests/test_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Tests for the administration endpoints
"""
from django.contrib.auth.models import User
from django.core.urlresolvers import reverse
from django.urls import reverse
from django.test import TestCase

from edx_notifications.server.api.tests.utils import TestClient
Expand Down
2 changes: 1 addition & 1 deletion edx_notifications/server/api/urls_mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def mock_handler(request): # pylint: disable=unused-argument
mock_handler,
name='edx_notifications.consumer.user_preferences.detail.no_param'
),
url(
re_path(
ADMIN_USERS_DELETE,
mock_handler,
name='edx_notifications.admin.delete_user_notifications'
Expand Down
4 changes: 2 additions & 2 deletions requirements/testing.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ pylint
pydocstyle
mock==1.0.1
testfixtures==4.5.0
bok-choy==0.6.2
bok-choy==1.1.1
sure==1.2.3
ddt==0.8.0
selenium==2.53.1
selenium==3.14.0
tox
2 changes: 1 addition & 1 deletion requirements/testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ appdirs==1.4.4 # via virtualenv
astroid==2.3.3 # via -r requirements/testing.in, pylint
attrs==20.2.0 # via pytest
beautifulsoup4==4.9.1 # via -r requirements/base.txt, pynliner
bok-choy==0.6.2 # via -r requirements/testing.in
bok-choy==1.1.1 # via -r requirements/testing.in
certifi==2020.4.5.1 # via -r requirements/base.txt, requests
chardet==3.0.4 # via -r requirements/base.txt, requests
coverage==5.1 # via -r requirements/testing.in
Expand Down

0 comments on commit f1b7ee0

Please sign in to comment.