MCPcopy
hub / github.com/ArchiveBox/ArchiveBox / test_add_arg_url

Method test_add_arg_url

archivebox/cli/tests.py:155–160  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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'

Callers

nothing calls this directly

Calls 2

output_hiddenFunction · 0.85
load_main_indexFunction · 0.85

Tested by

no test coverage detected