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)
Get method type, which defined by the user.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/admin/tests.py/AdminSeleniumWebDriverTestCase.assertSelectOptions--crossover with--dataset/ETHPy150Open Relrin/aiorest-ws/aiorest_ws/wrappers.py/Request.method