@@ -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 (
0 commit comments