From e110c0f4d544665b556ad8daa291a2dc1153a0f0 Mon Sep 17 00:00:00 2001 From: salman2013 Date: Wed, 1 Nov 2023 14:30:25 +0500 Subject: [PATCH] chore: remove xblock utils --- tests/fake_repos/python_js_repo/requirements/base.txt | 1 - .../fake_repos/python_js_repo/requirements/development.txt | 1 - tests/fake_repos/python_js_repo/requirements/testing.txt | 1 - tests/test_check_dependencies.py | 6 +++--- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/tests/fake_repos/python_js_repo/requirements/base.txt b/tests/fake_repos/python_js_repo/requirements/base.txt index 3579db08..dce86303 100644 --- a/tests/fake_repos/python_js_repo/requirements/base.txt +++ b/tests/fake_repos/python_js_repo/requirements/base.txt @@ -245,7 +245,6 @@ webob==1.8.7 # via xblock, xmodule wrapt==1.11.2 # via -c requirements/edx/../constraints.txt, -r requirements/edx/paver.txt git+https://github.com/openedx/xblock-drag-and-drop-v2@v2.3.4#egg=xblock-drag-and-drop-v2==2.3.4 # via -r requirements/edx/github.in git+https://github.com/open-craft/xblock-poll@922cd36fb1c3cfe00b4ce03b19a13185d136447d#egg=xblock-poll==1.10.2 # via -r requirements/edx/github.in -xblock-utils==2.1.2 # via -r requirements/edx/base.in, edx-sga, lti-consumer-xblock, staff-graded-xblock, xblock-drag-and-drop-v2, xblock-google-drive xblock==1.4.0 # via -r requirements/edx/base.in, acid-xblock, crowdsourcehinter-xblock, done-xblock, edx-completion, edx-sga, edx-user-state-client, edx-when, lti-consumer-xblock, ora2, rate-xblock, staff-graded-xblock, xblock-discussion, xblock-drag-and-drop-v2, xblock-google-drive, xblock-poll, xblock-utils xmlsec==1.3.9 # via python3-saml xss-utils==0.2.0 # via -r requirements/edx/base.in diff --git a/tests/fake_repos/python_js_repo/requirements/development.txt b/tests/fake_repos/python_js_repo/requirements/development.txt index 440d7d57..fa4151f2 100644 --- a/tests/fake_repos/python_js_repo/requirements/development.txt +++ b/tests/fake_repos/python_js_repo/requirements/development.txt @@ -319,7 +319,6 @@ webob==1.8.7 # via -r requirements/edx/testing.txt, xblock, xmodule wrapt==1.11.2 # via -c requirements/edx/../constraints.txt, -r requirements/edx/testing.txt, astroid git+https://github.com/openedx/xblock-drag-and-drop-v2@v2.3.4#egg=xblock-drag-and-drop-v2==2.3.4 # via -r requirements/edx/testing.txt git+https://github.com/open-craft/xblock-poll@922cd36fb1c3cfe00b4ce03b19a13185d136447d#egg=xblock-poll==1.10.2 # via -r requirements/edx/testing.txt -xblock-utils==2.1.2 # via -r requirements/edx/testing.txt, edx-sga, lti-consumer-xblock, staff-graded-xblock, xblock-drag-and-drop-v2, xblock-google-drive xblock==1.4.0 # via -r requirements/edx/testing.txt, acid-xblock, crowdsourcehinter-xblock, done-xblock, edx-completion, edx-sga, edx-user-state-client, edx-when, lti-consumer-xblock, ora2, rate-xblock, staff-graded-xblock, xblock-discussion, xblock-drag-and-drop-v2, xblock-google-drive, xblock-poll, xblock-utils xmlsec==1.3.9 # via -r requirements/edx/testing.txt, python3-saml xss-utils==0.2.0 # via -r requirements/edx/testing.txt diff --git a/tests/fake_repos/python_js_repo/requirements/testing.txt b/tests/fake_repos/python_js_repo/requirements/testing.txt index a6660c8e..c6294856 100644 --- a/tests/fake_repos/python_js_repo/requirements/testing.txt +++ b/tests/fake_repos/python_js_repo/requirements/testing.txt @@ -297,7 +297,6 @@ webob==1.8.7 # via -r requirements/edx/base.txt, xblock, xmodule wrapt==1.11.2 # via -c requirements/edx/../constraints.txt, -r requirements/edx/base.txt, astroid git+https://github.com/openedx/xblock-drag-and-drop-v2@v2.3.4#egg=xblock-drag-and-drop-v2==2.3.4 # via -r requirements/edx/base.txt git+https://github.com/open-craft/xblock-poll@922cd36fb1c3cfe00b4ce03b19a13185d136447d#egg=xblock-poll==1.10.2 # via -r requirements/edx/base.txt -xblock-utils==2.1.2 # via -r requirements/edx/base.txt, edx-sga, lti-consumer-xblock, staff-graded-xblock, xblock-drag-and-drop-v2, xblock-google-drive xblock==1.4.0 # via -r requirements/edx/base.txt, acid-xblock, crowdsourcehinter-xblock, done-xblock, edx-completion, edx-sga, edx-user-state-client, edx-when, lti-consumer-xblock, ora2, rate-xblock, staff-graded-xblock, xblock-discussion, xblock-drag-and-drop-v2, xblock-google-drive, xblock-poll, xblock-utils xmlsec==1.3.9 # via -r requirements/edx/base.txt, python3-saml xss-utils==0.2.0 # via -r requirements/edx/base.txt diff --git a/tests/test_check_dependencies.py b/tests/test_check_dependencies.py index cabd3fa7..c7e42d66 100644 --- a/tests/test_check_dependencies.py +++ b/tests/test_check_dependencies.py @@ -14,12 +14,12 @@ def test_python_js_repo_dependency_check(): assert 'fs==2.0.18' in dependencies["pypi_all"]["list"] assert "react-redux" in dependencies["js"]["list"] - assert dependencies["count"] == 351 - assert dependencies["pypi_all"]["count"] == 299 + assert dependencies["count"] == 350 + assert dependencies["pypi_all"]["count"] == 298 assert dependencies["github"]["count"] == 15 assert dependencies["js.all"]["count"] == 10 assert dependencies["js"]["count"] == 26 - assert dependencies["pypi"]["count"] == 225 + assert dependencies["pypi"]["count"] == 224 def test_js_repo_dependency_check():