summaryrefslogtreecommitdiff
path: root/tests/commands
Commit message (Collapse)AuthorAge
* determine_sender: Add more testsLucas Hoffmann2017-06-23
|
* Use account instead of realname to break loopsLucas Hoffmann2017-06-23
| | | | | | | | This fixes a bug in determine_sender where an account that did match but did not have a realname set was "not found" in case force_realname was set. Helped-By: Pol Van Aubel <dev@polvanaubel.com>
* Add test for force_realname settingsLucas Hoffmann2017-06-23
| | | | The second test case exemplifies a bug in determine_sender.
* Remember matched account explicitlyLucas Hoffmann2017-06-22
| | | | | Otherwise the next account in the for loop might have been returned if the account was found to match with its last alias.
* determine_sender: test if account matches addressLucas Hoffmann2017-06-22
| | | | | This test case exemplifies a bug in determine_sender. The address is matched correctly but the wrong account is associated with it.
* Add first test for commands.thread.determine_senderLucas Hoffmann2017-06-22
|
* tests: Instruct pylint to ignore a large swath of warningsDylan Baker2017-02-08
| | | | | | | | | There are a number of things pylint warns on that absolutely make sense to fix in production code, but for unittests they either don't matter (like naming variables "foo"), can't be fixed (TestCase methods that don't use self because they use a mock assert), or the descriptive names violate PEP8. These are annoying and create noise, so tell pylint to ignore them.
* commands/init_test: Basic tests for registerCommandDylan Baker2017-01-31
|
* Add tests for commands/envelopeDylan Baker2017-01-31
|
* Add tests for ReplyCommand.clear_my_addressLucas Hoffmann2017-01-25
|
* Fix test for ensure_unique_address with new quotingLucas Hoffmann2017-01-25
|
* Add some tests for ensure_unique_addressLucas Hoffmann2017-01-24
|
* Use absolute_imports from __future__Lucas Hoffmann2017-01-18
|
* Port old doctests to unittest: alot.commands.__init__Lucas Hoffmann2017-01-18