aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest
Commit message (Collapse)AuthorAgeFilesLines
* Fix HTML entity-encoding of outgoing messagesTrygve Aaberge2017-08-011-0/+9
| | | | | | We have to replace the & before we replace < and >, otherwise the & in &lt; and &gt; are going to be replaced. Additionally, we need to end the sequences with ; which was missing.
* Fix the testsBen Kelly2017-07-121-0/+5
| | | | | | | | | | Not everything that needed to be mocked out was, and there was also an issue with every instance of PluginConfig sharing the same mutable settings field and thus stomping on each other if you initialized more than one in the same test. Signed-off-by: Ben Kelly <bk@ancilla.ca> Signed-off-by: Ben Kelly <btk@google.com>
* Handling incoming me_message subtypes.Ben Kelly2017-04-131-0/+2
| | | | Signed-off-by: Ben Kelly <btk@google.com>
* massssssssive merge of the new codebaseRyan Huber2017-04-12146-108/+1514
|
* Leverage pytest.parametrize for test_unfurlMatt Robenolt2016-11-071-26/+27
| | | | | This provides nicer granular test cases rather than one whole test that fails.
* Test string with multiple unfurlcalve2016-01-041-0/+3
|
* Fix up pytestTollef Fog Heen2015-12-211-0/+1
|
* unicode fixes, change variable names, better testsRyan Huber2015-11-167-7/+10
|
* Handle unfurling of things with no alt text correctly as wellTollef Fog Heen2015-08-291-0/+3
|
* Whitespace fixupsTollef Fog Heen2015-08-291-2/+0
|
* Refactor unfurl_refsTollef Fog Heen2015-08-291-0/+3
| | | | | Instead of blindly splitting on spaces, use something approximating a parser for parsing refs. Also add another test case.
* Add unit test for unfurl_refs and correct logicTollef Fog Heen2015-08-291-0/+38
| | | | | The logic for showing/ignoring alt refs was wrong. Fix that, and to prevent this from showing up again, add a unit test.
* Whitespace cleanupTollef Fog Heen2015-08-291-5/+0
|
* Make sure to import rootdir for pytestTollef Fog Heen2015-08-291-0/+4
|
* add some initial tests. messages need a lot of work..Ryan Huber2015-03-186-0/+188