Commit graph

21 commits

Author SHA1 Message Date
mathieui
c6cf2d08b7
Fix close_all and change_title plugins 2018-07-22 16:17:06 +02:00
mathieui
2147efa4a1
Add tests for the new tabs module 2018-07-21 20:20:13 +02:00
mathieui
a8fc35cf35
Fix the config tests 2018-07-21 16:46:50 +02:00
mathieui
057f7ac9f5
Refactor logger.py to make it more testable
Also fixes:
- release the message log mmap when we are done with it
- Write the right character in log lines
2017-11-21 22:40:43 +01:00
mathieui
156d170d13
Make italics work 2017-11-14 19:23:35 +01:00
mathieui
c8e04d929c
Fix xhtml tests, and add tests with css disabled 2017-10-14 21:57:12 +02:00
mathieui
225f300ef3 Remove some unused imports 2017-10-14 13:00:42 +02:00
mathieui
0a4d66a657 Improve the poopt test 2017-10-12 00:17:09 +02:00
mathieui
ee5e807fc2 Add a poopt.cut_text multiline unit test 2017-10-11 23:06:57 +02:00
Emmanuel Gil Peyrot
f1b94534a4 Change all “not … in …” into “… not in …”. 2017-10-08 15:38:06 +01:00
mathieui
3775e476b6 Fix tests 2017-10-07 22:04:34 +02:00
mathieui
9f1c0c3d54 Rename parse_message_line to parse_log_line 2017-09-28 00:59:45 +02:00
mathieui
444af2be6f Add a simple test case 2017-09-28 00:57:17 +02:00
mathieui
5f0c0fbb0a Update tests 2016-08-21 15:58:07 +02:00
mathieui
2994a8e1e9 Update tests 2016-06-12 16:56:18 +02:00
Emmanuel Gil Peyrot
332a5c2553 Move the src directory to poezio, for better cython compatibility. 2016-06-11 20:49:43 +01:00
mathieui
561c46f126
Add a unit test for input completion
incomplete, but will help catch obvious wrong behaviors if we change
anything in the completions.
2014-12-18 17:57:07 +01:00
mathieui
e273a32ec7
Improve the xhtml_to_poezio_colors sanitization
add some tests, and remove the test_datetime_tuple because
of python time module misbehavior with timezones set manually.
(potentially due to http://bugs.python.org/issue6478)
2014-12-08 17:01:44 +01:00
mathieui
d98f2dde25
Make update.sh install the deps in a venv, and use them
simplifies the script and avoid cluttering the poezio/ directory.

also fix an unrelated test with slixmpp
2014-11-02 20:08:31 +01:00
mathieui
70befec8ca
Add some tests
- also fix that travis build
2014-10-29 03:07:40 +01:00
mathieui
29942d38bb
Add some unit tests using py.test
- we need to have more
2014-10-27 20:01:22 +01:00