Commit graph libervia-backend/src/test/test_plugin_xep_0033.py
Author SHA1 Message Date
Goffi
6bbcbaf522 use of /usr/bin/env instead of /usr/bin/python in shebang 2016-04-17 14:45:26 +02:00
souliane
8bc634d4c2 test: add helpers methods muteLogging and unmuteLogging 2016-03-11 16:41:44 +01:00
Goffi
348be27934 copyright update 2016-01-03 16:28:30 +01:00
Goffi
fbec02d396 2015 copyright dates update 2015-03-30 10:26:26 +02:00
souliane
08e293a81d test: fix/improve tests for plugins XEP-0033 and XEP-0085 (mainly to return a Deferred) 2014-12-25 11:49:13 +01:00
souliane
9c53c50810 test: fixes tests for XEP-0033 2014-12-19 11:36:43 +01:00
souliane
852106becd test: refactoring:
- rename internal init methods to reinit
    - rename getSentMessage to getSentMessageXml
    - rename getSentMessageRaw to getSentMessage
2014-12-19 11:36:00 +01:00
souliane
2afa53f755 test: fixes the tests for plugin XEP-0033 2014-06-08 17:39:21 +02:00
souliane
f0fa9b699d plugin XEP_0033: fixes the server part and the tests 2014-04-11 11:02:42 +02:00
Goffi
edf5db192f test: configuration/use of new logging system 2014-04-21 20:04:52 +02:00
Goffi
501bc92528 core: use of the new core.log module:
/!\ this is a massive refactoring and was largely automated, it probably did bring some bugs /!\
2014-04-19 19:19:19 +02:00
Goffi
95678d7967 core, plugin XEP-0115: discovery refactoring:
- hashing algorithm of XEP-0115 has been including in core
    - our own hash is still calculated by XEP-0115 and can be regenerated with XEP_0115.recalculateHash
    - old discovery methods have been removed. Now the following methods are used:
        - hasFeature: tell if a feature is available for an entity
        - getDiscoInfos: self explaining
        - getDiscoItems: self explaining
        - findServiceEntities: return all available items of an entity which given (category, type)
        - findFeaturesSet: search for a set of features in entity + entity's items
      all these methods are asynchronous, and manage cache automatically
    - XEP-0115 manage in a better way hashes, and now use a trigger for presence instead of monkey patch
    - new FeatureNotFound exception, when we want to do something which is not available
    - refactored client initialisation sequence, removed client.initialized Deferred
    - added constant APP_URL
    - test_plugin_xep_0033.py has been temporarly deactivated, the time to adapt it
    - lot of cleaning
2014-03-28 18:07:22 +01:00
souliane
032c34cfdb test: fix tests fo plugins XEP-0033 and XEP-0085 2014-03-22 18:47:17 +01:00
Goffi
2a40da1664 tests: tests fixes 2014-03-21 16:19:46 +01:00
Goffi
2ca6efd8cc dates update 2014-02-04 18:32:49 +01:00
souliane
cd45ede2d2 test: silent info/warning that were polluting the output 2014-01-10 18:19:34 +01:00
souliane
db832c1f6b test: define the constants JIDs and profiles as lists 2014-01-09 11:18:33 +01:00
souliane
6be767ae3b test: use the SatTestCase methods instead of builtin "assert" in tests for memory, plugin xep-0033 2014-01-07 09:27:53 +01:00
souliane
84bfd205dd test: added tests for XEP-0033 2014-01-05 13:05:31 +01:00