MCPcopy
hub / github.com/ArchiveBox/ArchiveBox / test_add_stdin_url

Method test_add_stdin_url

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

Source from the content-addressed store, hash-verified

172 os.remove(test_file)
173
174 def test_add_stdin_url(self):
175 with output_hidden():
176 archivebox_add.main([], stdin=test_urls)
177
178 all_links = load_main_index(out_dir=OUTPUT_DIR)
179 assert len(all_links) == 12
180
181
182class TestRemove(unittest.TestCase):

Callers

nothing calls this directly

Calls 2

output_hiddenFunction · 0.85
load_main_indexFunction · 0.85

Tested by

no test coverage detected