MCPcopy Index your code
hub / github.com/ArchiveBox/ArchiveBox / test_remove_regex

Method test_remove_regex

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

Source from the content-addressed store, hash-verified

198 assert len(all_links) == 11
199
200 def test_remove_regex(self):
201 with output_hidden():
202 archivebox_remove.main(['--yes', '--delete', '--filter-type=regex', r'http(s)?:\/\/(.+\.)?(example\d\.com)'])
203
204 all_links = load_main_index(out_dir=OUTPUT_DIR)
205 assert len(all_links) == 4
206
207 def test_remove_domain(self):
208 with output_hidden():

Callers

nothing calls this directly

Calls 2

output_hiddenFunction · 0.85
load_main_indexFunction · 0.85

Tested by

no test coverage detected