Skip to content

Commit cbe34d9

Browse files
committed
tests: Fix check to be compatible with .lock
Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
1 parent ba3adef commit cbe34d9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_updater_top_level_update.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,7 @@ def test_cached_root_missing_without_bootstrap(self) -> None:
135135
self._run_refresh(skip_bootstrap=True)
136136

137137
# Metadata dir is empty
138-
with self.assertRaises(FileNotFoundError):
139-
os.listdir(self.metadata_dir)
138+
self._assert_files_exist([])
140139

141140
def test_trusted_root_expired(self) -> None:
142141
# Create an expired root version

0 commit comments

Comments
 (0)