mathieui
e3b07d95f2
tests: fix expected get_by_tabname input type
2021-07-02 21:10:20 +02:00
mathieui
fc1eca7ac3
fix: remove all remaining safejids ( fix #3457 )
2021-04-12 20:43:51 +02:00
mathieui
02a858eb49
tests: Fix tests
2021-04-11 19:59:40 +02:00
mathieui
4cbc0e4506
tests: update logger test
2021-04-11 16:33:53 +02:00
mathieui
dafe5b9e24
fix: logger: improve typing, globals and tests
2021-04-03 14:01:34 +02:00
mathieui
ef772d8b2a
fix: failing tests
2021-04-02 17:44:36 +02:00
mathieui
d27895e04e
tests: use named parameters for user test
2021-04-02 17:44:36 +02:00
mathieui
ee8a3c1121
muc: remove non-deterministic nick colors
2021-02-17 22:04:20 +01:00
Emmanuel Gil Peyrot
1c5836a90f
Fix a warning when running tests.
...
/home/linkmauve/dev/python/poezio/test/test_config.py:13: PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
Use @pytest.fixture instead; they are the same.
2020-12-26 23:39:56 +01:00
03ef9c8d54
move date and time SHORT_FORMAT and LONG_FORMAT to the theme
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-08-14 22:12:26 +02:00
0aa34147f7
Minimal tests for User class
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-28 02:25:15 +02:00
mathieui
29eef159d5
Fix some edge cases of MAM history fetch
...
- Wait until we receive our own MUC presence to fetch history
- Fix /reconnect weirdness
2020-05-23 16:10:13 +02:00
mathieui
e488b75737
Add tests for text_buffer
2020-05-23 16:10:13 +02:00
Jonas Schäfer
c1863addfd
Add function to find a tab by unique prefix
2020-05-12 22:26:51 +02:00
Jonas Schäfer
d4d0c1a19f
Add function to calculate unique prefix of two strings
2020-05-12 22:26:51 +02:00
mathieui
cf026cf1b1
Fix tests for message rendering
2020-05-09 19:46:17 +02:00
mathieui
a5e9280047
Pass a message to add_message instead of messed up kwargs everywhere
...
Changes LOTS of things
2020-05-09 19:46:17 +02:00
mathieui
076314fc21
Add tests for ui-related funcs
2020-05-09 19:46:17 +02:00
mathieui
5bc510eafa
Fix an issue in xmllog rendering due to wrong offset
...
and improve tests to catch that
2020-05-09 19:46:17 +02:00
mathieui
32beeca480
Add tests for the new modules
2020-05-09 19:46:17 +02:00
Emmanuel Gil Peyrot
e5e0533b6e
logger: Log the JID during a parsing error.
2019-02-07 02:31:15 +01:00
mathieui
e992107ecf
I give up
...
on getting Link Mauve to ever run tests
2018-12-15 15:19:27 +01:00
65649e91c4
Tabs: add test for slice support
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-09-10 22:45:23 +01:00
mathieui
f781511237
Tests: make dummy tabs still inherit tabs.Tab
2018-08-11 22:57:05 +02:00
mathieui
fdc797aec7
Fix unittests for python 3.5
2018-07-23 19:52:08 +02:00
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