(self)
| 153 | shutil.rmtree(OUTPUT_DIR, ignore_errors=True) |
| 154 | |
| 155 | def test_add_arg_url(self): |
| 156 | with output_hidden(): |
| 157 | archivebox_add.main(['https://getpocket.com/users/nikisweeting/feed/all']) |
| 158 | |
| 159 | all_links = load_main_index(out_dir=OUTPUT_DIR) |
| 160 | assert len(all_links) == 30 |
| 161 | |
| 162 | def test_add_arg_file(self): |
| 163 | test_file = Path(OUTPUT_DIR) / 'test.txt' |
nothing calls this directly
no test coverage detected