Skip to content

Commit

Permalink
test: adding assert to ora waiting step details view
Browse files Browse the repository at this point in the history
  • Loading branch information
johnvente committed Mar 1, 2024
1 parent 4bdd07d commit bcdb6a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openassessment/xblock/test/test_openassessment.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def test_ora_waiting_step_details_view_include_esg_flag(
xblock_arg_path = "//script[contains(@type, 'json/xblock-args')]"

xblock_args_el = tree.xpath(xblock_arg_path)
json.loads(xblock_args_el[0].text)['CONTEXT']['selectable_learners_enabled'] = esg_flag_input
assert json.loads(xblock_args_el[0].text)['CONTEXT']['selectable_learners_enabled'] == esg_flag_input

@scenario('data/empty_prompt.xml')
def test_prompt_intentionally_empty(self, xblock):
Expand Down

0 comments on commit bcdb6a0

Please sign in to comment.