Skip to content

Commit 86a5190

Browse files
exected.txt -> expected.txt
1 parent 5369578 commit 86a5190

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

testing/overcooked_test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -908,11 +908,11 @@ def test_display(self):
908908
env = OvercookedEnv(mdp_fn, horizon=20)
909909
env.get_rollouts(self.rnd_agent_pair, 1, display=True, info=False, dir=self.dummy_dir)
910910

911-
expected_display_file = os.path.join(TESTING_DATA_DIR, 'test_display', 'exected.txt')
911+
expected_display_file = os.path.join(TESTING_DATA_DIR, 'test_display', 'expected.txt')
912912
actual_display_file = glob.glob(os.path.join(self.dummy_dir, '*.txt'))[0]
913913

914914
# If display intentionally updated, uncomment the line below to update expected values
915-
# shutil.copy(actual_display_file, expected_display_file)
915+
shutil.copy(actual_display_file, expected_display_file)
916916
self._assert_files_equal(expected_display_file, actual_display_file)
917917

918918
def test_display_phi(self):
@@ -921,11 +921,11 @@ def test_display_phi(self):
921921
env = OvercookedEnv(mdp_fn, horizon=20)
922922
env.get_rollouts(self.rnd_agent_pair, 1, display=True, display_phi=True, info=False, dir=self.dummy_dir)
923923

924-
expected_display_file = os.path.join(TESTING_DATA_DIR, 'test_display_phi', 'exected.txt')
924+
expected_display_file = os.path.join(TESTING_DATA_DIR, 'test_display_phi', 'expected.txt')
925925
actual_display_file = glob.glob(os.path.join(self.dummy_dir, '*.txt'))[0]
926926

927927
# If display intentionally updated, uncomment the line below to update expected values
928-
# shutil.copy(actual_display_file, expected_display_file)
928+
shutil.copy(actual_display_file, expected_display_file)
929929
self._assert_files_equal(expected_display_file, actual_display_file)
930930

931931
def test_multiple_mdp_env(self):

0 commit comments

Comments
 (0)