@@ -351,17 +351,17 @@ def test_unit_sync(self):
351351 """ )
352352
353353 # Now, add and delete a component
354- self . upstream_problem3 = self ._add_block_to_library (
354+ upstream_problem3 = self ._add_block_to_library (
355355 self .library ["id" ],
356356 "problem" ,
357357 "prob3" ,
358358 can_stand_alone = True
359359 )
360360 self ._set_library_block_olx (
361- self . upstream_problem3 ["id" ],
361+ upstream_problem3 ["id" ],
362362 '<problem display_name="Problem 3 Display Name" max_attempts="22">single select...</problem>'
363363 )
364- self ._add_container_components (self .upstream_unit ["id" ], [self . upstream_problem3 ["id" ]])
364+ self ._add_container_components (self .upstream_unit ["id" ], [upstream_problem3 ["id" ]])
365365 self ._remove_container_components (self .upstream_unit ["id" ], [self .upstream_problem2 ["id" ]])
366366 self ._commit_library_changes (self .library ["id" ]) # publish everything
367367
@@ -407,15 +407,15 @@ def test_unit_sync(self):
407407 upstream_display_name="Problem 3 Display Name"
408408 markdown="null"
409409 { self .standard_capa_attributes }
410- upstream="{ self . upstream_problem3 ['id' ]} "
410+ upstream="{ upstream_problem3 ['id' ]} "
411411 upstream_version="2"
412412 >single select...</problem>
413413 </vertical>
414414 """ )
415415
416416 # Now, reorder components
417417 self ._patch_container_components (self .upstream_unit ["id" ], [
418- self . upstream_problem3 ["id" ],
418+ upstream_problem3 ["id" ],
419419 self .upstream_problem1 ["id" ],
420420 self .upstream_html1 ["id" ],
421421 ])
@@ -437,7 +437,7 @@ def test_unit_sync(self):
437437 upstream_display_name="Problem 3 Display Name"
438438 markdown="null"
439439 { self .standard_capa_attributes }
440- upstream="{ self . upstream_problem3 ['id' ]} "
440+ upstream="{ upstream_problem3 ['id' ]} "
441441 upstream_version="2"
442442 >single select...</problem>
443443 <!-- 🟢 the problem 1 has been moved to middle: -->
0 commit comments