~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/answers/browser/tests/test_questiontarget.py

[r=bac][bug=799847] Relands form-macro cleanup,
        while fixing previous bad conflict resolution.

Show diffs side-by-side

added added

removed removed

Lines of Context:
218
218
        self.assertIsNot(
219
219
            None, content.find(True, id=target_widget.show_widget_id))
220
220
        text = str(content)
221
 
        picker_script = (
222
 
            "Y.lp.app.picker.create('DistributionOrProductOrProjectGroup'")
223
 
        self.assertIn(picker_script, text)
 
221
        picker_vocab = "DistributionOrProductOrProjectGroup"
 
222
        self.assertIn(picker_vocab, text)
224
223
        focus_script = "setFocusByName('field.search_text')"
225
224
        self.assertIn(focus_script, text)