Testing
Test Directives
Important
Testing
Danger
Testing
Note
Testing
Warning
Testing
New in version 1.0.0: Testing
Changed in version 1.0.1: Testing
Deprecated since version 1.0.1: Testing
See also
Testing
Admonition
Testing
Testing
Testing
|
|
|
Test Tables
Test1 |
Test2 |
Test3 |
---|---|---|
Testing1 |
Testing2 |
Testing3 |
Testing1 |
Testing2 |
Testing3 |
Testing1 |
Testing2 |
Testing3 |
Testing1 |
Testing2 |
Testing3 |
Testing1 |
Testing2 |
Testing3 |
Testing1 |
Testing2 |
Testing3 |
Test Code Blocks
1from content_filter import Filter
2
3filter = Filter()
4
5filter.check('message here')
6# returns a Check object
7
8filter.check('message here').as_bool
9# returns a bool of True if it found anything, False if not
10
11filter.add_words(['word1', 'word2', 'word2'])
12# adds words to default filter
13
14filter.add_exceptions(['word1', 'word2', 'word2'])
15# ignores words in default filter
export TESTING=16
{
"mainFilter": [
{ "find": "find", "word": "word", "censored": "censored" },
{ "find": "helo", "word": "hello", "censored": "h3110" }
],
"dontFilter": ["word"],
"conditionFilter": [
{
"find": "find",
"word": "word",
"censored": "censored",
"require_space": true
}
]
}
Test Roles
Testing 123 Test of guilabel