Skip to content

Commit 33c0a89

Browse files
authored
test: fix selenium selector syntax (#9963)
1 parent 7006770 commit 33c0a89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ietf/meeting/tests_js.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1260,7 +1260,7 @@ def _assert_ietf_tz_correct(meetings, tz):
12601260
# to inherit Django's settings.TIME_ZONE but I don't know whether that's guaranteed to be consistent.
12611261
# To avoid test fragility, ask Moment what it considers local and expect that.
12621262
local_tz = self.driver.execute_script('return moment.tz.guess();')
1263-
local_tz_opt = tz_select_input.find_element(By.CSS_SELECTOR, 'option[value=%s]' % local_tz)
1263+
local_tz_opt = tz_select_input.find_element(By.CSS_SELECTOR, 'option[value="%s"]' % local_tz)
12641264
local_tz_bottom_opt = tz_select_bottom_input.find_element(By.CSS_SELECTOR, 'option[value="%s"]' % local_tz)
12651265

12661266
# Should start off in local time zone

0 commit comments

Comments
 (0)