'Assert that selecting option "text" sets input\'s value.'

def select_option(self, text):

    dropdown = self.case.browser.find_by_css(self.dropdown_selector)
    if ((not len(dropdown)) or (not dropdown.visible)):
        self.toggle_autocomplete()
    self.case.assert_visible(self.dropdown_selector)
    self.case.enter_text(self.input_selector, text)
    self.find_option(text).click()
