~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/browser/tests/test_bugs.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:
86
86
        self.assertIsNot(
87
87
            None, content.find(True, id=target_widget.show_widget_id))
88
88
        text = str(content)
89
 
        picker_script = (
90
 
            "Y.lp.app.picker.create('DistributionOrProductOrProjectGroup'")
91
 
        self.assertIn(picker_script, text)
 
89
        picker_vocab = "DistributionOrProductOrProjectGroup"
 
90
        self.assertIn(picker_vocab, text)
92
91
        focus_script = "setFocusByName('field.searchtext')"
93
92
        self.assertIn(focus_script, text)