Skip to content

Commit 94115d5

Browse files
feat: Upgrade Python dependency openedx-authz (openedx#37652)
* feat: Upgrade Python dependency openedx-authz handle cache invalidation Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master` * fix: update the num of queries in tests --------- Co-authored-by: MaferMazu <[email protected]> Co-authored-by: Maria Fernanda Magallanes Zubillaga <[email protected]> (cherry picked from commit 122b4e0)
1 parent c165126 commit 94115d5

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

openedx/core/djangoapps/content_tagging/rest_api/v1/tests/test_views.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -514,12 +514,12 @@ def test_create_taxonomy(self, user_attr: str, expected_status: int) -> None:
514514

515515
@ddt.data(
516516
('staff', 11),
517-
("content_creatorA", 17),
518-
("library_staffA", 17),
519-
("library_userA", 17),
520-
("instructorA", 17),
521-
("course_instructorA", 17),
522-
("course_staffA", 17),
517+
("content_creatorA", 22),
518+
("library_staffA", 22),
519+
("library_userA", 22),
520+
("instructorA", 22),
521+
("course_instructorA", 22),
522+
("course_staffA", 22),
523523
)
524524
@ddt.unpack
525525
def test_list_taxonomy_query_count(self, user_attr: str, expected_queries: int):
@@ -1927,16 +1927,16 @@ def test_get_copied_tags(self):
19271927
('staff', 'courseA', 8),
19281928
('staff', 'libraryA', 8),
19291929
('staff', 'collection_key', 8),
1930-
("content_creatorA", 'courseA', 12, False),
1931-
("content_creatorA", 'libraryA', 12, False),
1932-
("content_creatorA", 'collection_key', 12, False),
1933-
("library_staffA", 'libraryA', 12, False), # Library users can only view objecttags, not change them?
1934-
("library_staffA", 'collection_key', 12, False),
1935-
("library_userA", 'libraryA', 12, False),
1936-
("library_userA", 'collection_key', 12, False),
1937-
("instructorA", 'courseA', 12),
1938-
("course_instructorA", 'courseA', 12),
1939-
("course_staffA", 'courseA', 12),
1930+
("content_creatorA", 'courseA', 17, False),
1931+
("content_creatorA", 'libraryA', 17, False),
1932+
("content_creatorA", 'collection_key', 17, False),
1933+
("library_staffA", 'libraryA', 17, False), # Library users can only view objecttags, not change them?
1934+
("library_staffA", 'collection_key', 17, False),
1935+
("library_userA", 'libraryA', 17, False),
1936+
("library_userA", 'collection_key', 17, False),
1937+
("instructorA", 'courseA', 17),
1938+
("course_instructorA", 'courseA', 17),
1939+
("course_staffA", 'courseA', 17),
19401940
)
19411941
@ddt.unpack
19421942
def test_object_tags_query_count(

requirements/edx/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ openedx-atlas==0.7.0
825825
# enterprise-integrated-channels
826826
# openedx-authz
827827
# openedx-forum
828-
openedx-authz==0.15.0
828+
openedx-authz==0.19.0
829829
# via -r requirements/edx/kernel.in
830830
openedx-calc==4.0.2
831831
# via -r requirements/edx/kernel.in

requirements/edx/development.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1375,7 +1375,7 @@ openedx-atlas==0.7.0
13751375
# enterprise-integrated-channels
13761376
# openedx-authz
13771377
# openedx-forum
1378-
openedx-authz==0.15.0
1378+
openedx-authz==0.19.0
13791379
# via
13801380
# -r requirements/edx/doc.txt
13811381
# -r requirements/edx/testing.txt

requirements/edx/doc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ openedx-atlas==0.7.0
10021002
# enterprise-integrated-channels
10031003
# openedx-authz
10041004
# openedx-forum
1005-
openedx-authz==0.15.0
1005+
openedx-authz==0.19.0
10061006
# via -r requirements/edx/base.txt
10071007
openedx-calc==4.0.2
10081008
# via -r requirements/edx/base.txt

requirements/edx/testing.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ openedx-atlas==0.7.0
10481048
# enterprise-integrated-channels
10491049
# openedx-authz
10501050
# openedx-forum
1051-
openedx-authz==0.15.0
1051+
openedx-authz==0.19.0
10521052
# via -r requirements/edx/base.txt
10531053
openedx-calc==4.0.2
10541054
# via -r requirements/edx/base.txt

0 commit comments

Comments
 (0)