Checks for and removes artifacts expected by this example
(self, exc_type, exc_value, traceback)
| 186 | return status |
| 187 | |
| 188 | def __exit__(self, exc_type, exc_value, traceback): |
| 189 | """ |
| 190 | Checks for and removes artifacts expected by this example |
| 191 | """ |
| 192 | self._remove_artifacts() |
| 193 | assert ( |
| 194 | self._get_file_list() == self.original_files |
| 195 | ), "Unexpected files were created. If this is the desired behavior, add the file paths to `artifact_names`" |
| 196 | |
| 197 | def __str__(self): |
| 198 | return os.path.relpath(self.path, EXAMPLES_ROOT) |
nothing calls this directly
no test coverage detected