'Asserts that the <SELECT> widget identified by `selector` has the
options with the given `values`.'

def assertSelectOptions(self, selector, values):

    options = self.selenium.find_elements_by_css_selector(('%s    >    option' % selector))
    actual_values = []
    for option in options:
        actual_values.append(option.get_attribute('value'))
    self.assertEqual(values, actual_values)
