summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2022-02-26fix: black lintdm2-8/+18
2022-02-26feat: include complete redirect rule feature.dm2-1/+80
1. update adblock-rust => 0.4.3 2. add `include_redirect_urls` parameter for `FilterSet.add_filter_list` and `FilterSet.add_filters` 3. add `Engine.add_resource` method. 4. add `adblock.AddResourceError` Exception 5. add `redirect_type` for `BlockerResult` 6. add some tests for these functions.
2021-12-03Fix broken version handling in test suiteÁrni Dagur1-5/+10
2021-06-26Run black code formatterÁrni Dagur2-1/+3
2021-06-26Create a custom exception type for this libraryÁrni Dagur3-2/+25
2021-02-01Packaging improvements (#34)Árni Dagur2-40/+61
* Use maturin for PEP 517 compliancy * Removing relative import in __init__.py * Bump version to 0.4.2
2021-01-16Improve __repr__ (#23)Árni Dagur1-0/+37
So we get something like: BlockerResult(matched=false, important=false, redirect=None, exception=None, filter=None, error=None) rather than: BlockerResult(false, false, None, None, None, None) Co-authored-by: Florian Bruhin <me@the-compiler.org>
2020-12-22Make changelog dependency optionalFlorian Bruhin1-3/+6
This makes it a bit easier for distributions to run the tests without needing to package changelog-cli.
2020-11-26Keep a changelog using 'changelog-cli'Árni Dagur1-4/+13
2020-09-22Avoid using star import in __init__.pyÁrni Dagur1-0/+34
2020-07-27Update upstream library to 0.3.0, respond to API changes (#10)Árni Dagur3-13/+116
* Update upstream library to 0.3.0, respond to API changes * Change pypi publishing criteria in CI * Create test to make sure the version numbers are the same everywhere
2020-06-21Correct return type for the serialize methodÁrni Dagur1-0/+29
2020-06-21Add type stubs to project (#7)Árni Dagur1-0/+1
2020-06-07Allow more options when constructing Engine (#6)Árni Dagur1-0/+10