Skip to content

Commit 2cd1de1

Browse files
committed
fixed typo in initialize_word_list function
1 parent f6d98ba commit 2cd1de1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/wordle_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class WordleTests(BaseCase):
99

1010
word_list = []
1111

12-
def initalize_word_list(self):
12+
def initialize_word_list(self):
1313
txt_file = "https://seleniumbase.io/cdn/txt/wordle_words.txt"
1414
word_string = requests.get(txt_file).text
1515
self.word_list = ast.literal_eval(word_string)
@@ -61,7 +61,7 @@ def test_wordle(self):
6161
self.skip_if_incorrect_env()
6262
self.open("https://www.nytimes.com/games/wordle/index.html")
6363
self.click("game-app::shadow game-modal::shadow game-icon")
64-
self.initalize_word_list()
64+
self.initialize_word_list()
6565
keyboard_base = "game-app::shadow game-keyboard::shadow "
6666
word = random.choice(self.word_list)
6767
total_attempts = 0

0 commit comments

Comments
 (0)