Commit Graph

121 Commits

Author SHA1 Message Date
Thor77 36790e3863 modify test_log_client_count to use tsstats.client.Clients.__len__ 2016-05-19 15:41:19 +02:00
Thor77 cb6d433dca add usage of ident_map for tsstats.client.Clients.__setitem__ 2016-05-19 15:40:28 +02:00
Thor77 55277a2c75 use optional-nick-arg instead of explicit assignment 2016-05-19 15:39:36 +02:00
Thor77 cb94560a2f add optional nick-arg to tsstats.client.Client.__init__ 2016-05-19 15:24:18 +02:00
Thor77 c9895c6c5a allow legacy tsstats.client.Client += 2016-05-19 15:23:11 +02:00
Thor77 ac305b3873 reimplement usage of IdentMap 2016-05-19 15:22:16 +02:00
Thor77 216bedc38f refactor tsstats.client.Clients
* use collections.MutableMapping as base
* use one dict to store all types of Clients
* don't use implicit += but explicit .setdefault in tsstats.log for client-adding
* give all clients to sort_clients in tsstats.template
* remove now unneccessary clients-assignment in tsstats.utils.sort_clients
2016-05-18 22:50:23 +02:00
Thor77 a7cfa6967f split client and parse-tests into test_client.py and test_log.py 2016-05-18 22:08:09 +02:00
Thor77 0990644128 add documentation to tsstats.client.Client and tsstats.client.Clients 2016-05-18 21:27:18 +02:00
Thor77 e7cf036971 use new-style class-definition 2016-05-11 20:53:17 +02:00
Thor77 e7fc91229e use % formatting in logging-functions 2016-05-11 20:45:42 +02:00
Thor77 d820c99ece move argparse-setup into cli() 2016-05-11 20:21:09 +02:00
Thor77 cbb44fcb85 [config] rename logfile to log and outputpath to output 2016-05-10 22:56:48 +02:00
Thor77 d836b807be move logging-setup into __init__.py and use one central logger-object 2016-05-10 22:50:34 +02:00
Thor77 9891b1d785 use py.test instead of nose for testing 2016-05-09 20:09:16 +02:00
Thor77 6889946ab6 use py2-style ConfigParser-set and section_add in tests 2016-05-09 19:34:13 +02:00
Thor77 6e7922492a use py2-style ConfigParser-get-methods 2016-05-09 19:29:24 +02:00
Thor77 4329ad2e11 use py2-style ConfigParser-methods 2016-05-09 19:25:48 +02:00
Thor77 7e2f4ba09f use py2-style timestamp-retrieval 2016-05-08 21:54:58 +02:00
Thor77 b3427ec785 make config-test py2-compatible 2016-05-08 21:42:28 +02:00
Thor77 a25a596d02 split tsstats.py into package with multiple files 2016-05-08 21:32:37 +02:00