Skip to content

Commit

Permalink
chore: fixing tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
awais786 committed Dec 4, 2023
1 parent 6906a2d commit 23b2a18
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/data/mock_django_dependencies_sheet.csv
Expand Up @@ -3,5 +3,5 @@
40,edx-opaque-keys,yes,-,2.2.0,2.2.0,-,"Feb 1, 2021",,,
103,django-storages,,1.11,1.8,1.1,-,"Jun 21, 2021",https://github.com/edx/upgrades/issues/44,,
110,edx-django-utils,yes,-,master,4.2.0,4.2.0,"Jul 14, 2021",BOM-2634,,
30,djangorestframework,,3.12.3,3.11.0,3.12.0,4.2,"Jun 30, 2021",,,3.12.4
30,djangorestframework,,3.12.3,3.11.0,3.12.0,3.13.0,"Jun 30, 2021",,,3.12.4
29,django-waffle,,2.2.0,0.19.0,2.0.0,-,"May 22, 2021",,,
2 changes: 1 addition & 1 deletion tests/fake_repos/python_repo/requirements/base.txt
Expand Up @@ -12,7 +12,7 @@ django==2.2.24
# -r requirements/base.in
# djangorestframework
# edx-django-utils
djangorestframework==3.12.4
djangorestframework==3.13.0
# via -r requirements/base.in
edx-django-utils==2.0.4
# via
Expand Down
2 changes: 1 addition & 1 deletion tests/fake_repos/python_repo/requirements/dev.txt
Expand Up @@ -68,7 +68,7 @@ django==2.2.24
# edx-django-utils
# edx-i18n-tools
# edx-lint
djangorestframework==3.12.4
djangorestframework==3.13.0
# via -r requirements/quality.txt
edx-django-utils==2.0.4
# via
Expand Down
2 changes: 1 addition & 1 deletion tests/fake_repos/python_repo/requirements/quality.txt
Expand Up @@ -39,7 +39,7 @@ django==2.2.24
# djangorestframework
# edx-django-utils
# edx-lint
djangorestframework==3.12.4
djangorestframework==3.13.0
# via -r requirements/test.txt
edx-django-utils==2.0.4
# via
Expand Down
2 changes: 1 addition & 1 deletion tests/test_check_django_deps.py
Expand Up @@ -31,7 +31,7 @@ def test_django_deps_upgrade(repo_path):
assert 'edx-django-utils' in all_results[MODULE_DICT_KEY]['django_32']['list']

assert 'edx-django-utils' not in all_results[MODULE_DICT_KEY]['upgraded']['list']
assert 'djangorestframework' not in all_results[MODULE_DICT_KEY]['upgraded']['list']
assert 'djangorestframework' in all_results[MODULE_DICT_KEY]['upgraded']['list']


@pytest.mark.parametrize("repo_path", [get_repo_path("js_repo")])
Expand Down

0 comments on commit 23b2a18

Please sign in to comment.