mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 14:44:29 -04:00
refactor: Organize code to remove flake8 issues
This commit is contained in:
parent
f4c0616332
commit
6006b4f93b
24 changed files with 43 additions and 39 deletions
|
@ -198,7 +198,7 @@ class TestRemove(unittest.TestCase):
|
|||
|
||||
def test_remove_regex(self):
|
||||
with output_hidden():
|
||||
archivebox_remove.main(['--yes', '--delete', '--filter-type=regex', 'http(s)?:\/\/(.+\.)?(example\d\.com)'])
|
||||
archivebox_remove.main(['--yes', '--delete', '--filter-type=regex', r'http(s)?:\/\/(.+\.)?(example\d\.com)'])
|
||||
|
||||
all_links = load_main_index(out_dir=OUTPUT_DIR)
|
||||
assert len(all_links) == 4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue