diff --git a/e2e/fixures.py b/e2e/fixures.py index b44b2e7..2b83542 100644 --- a/e2e/fixures.py +++ b/e2e/fixures.py @@ -239,7 +239,7 @@ def is_exists(self) -> bool: return self.path_of_marker_file.is_file() def set_date(self, new_modification_time: datetime.datetime) -> None: - if self.is_exists(): + if not self.is_exists(): self.path_of_marker_file.write_text(generate_random_string()) dt = new_modification_time.timestamp()