Commit Graph

21 Commits

Author SHA1 Message Date
Thor77 b1b80f657a Use parse_logs instead of _parse_details 2017-09-10 00:04:11 +02:00
Thor77 caff246f9a Don't raise InvalidLog
because there's nothing you can do about it anyways, so there's no need
to stop.
2017-09-08 14:12:48 +02:00
Thor77 65a8379261 Use pendulum instead of plain datetime
because it is more intuitive to use and doesn't require the
tz_aware_datetime-workaround.
2017-07-07 14:22:24 +02:00
Thor77 8299c73eb9 Move output-fixture to confest.py and yield path
* Modify test_log and test_template to use these changes
2017-04-28 23:27:05 +02:00
Thor77 2753f548fe Test disconnect on server-stop 2017-02-23 21:51:42 +01:00
Thor77 418be10603 Use render_servers for utf8-write-test 2016-11-22 23:08:49 +01:00
Thor77 75c5ebb575 Adapt to new return type of tsstats.log.parse_logs
in this case using list- instead of dict-indexing
2016-11-19 22:28:34 +01:00
Thor77 1ec0a37480 Add testcase for #3 (encoding issues) 2016-11-07 20:24:08 +01:00
Thor77 80df2c02f0 Add testcase for logs with server/clientgroup-actions 2016-10-27 00:02:17 +02:00
Thor77 eafc98f548 add test for tsstats.log.parse_logs 2016-06-22 20:40:55 +02:00
Thor77 468bfcd22d fix log-tests by renaming all occurences of parse_log to _parse_details
* additionally remove deprecated test_multiple-test
2016-06-21 18:23:35 +02:00
Thor77 976d40e2b9 add test for tsstats.log._bundle_logs 2016-06-20 21:59:22 +02:00
Thor77 2ed3b7f48d make tsstats.tests.test_log compatible with datetime.timedelta as Client.onlinetime 2016-06-12 17:55:52 +02:00
Thor77 17d7552e8b set parse_log(online_dc=False) in all log-tests 2016-06-12 16:58:17 +02:00
Thor77 a1c5f67c0c extract path to testlog into variable 2016-06-12 16:39:41 +02:00
Thor77 3972594787 add testcase for #1 2016-06-12 16:38:28 +02:00
Thor77 09ad45e9a6 cover tsstats.log.parse_logs 2016-05-25 20:06:17 +02:00
Thor77 53ffad3d81 refactor tsstats.log.parse_log(s)
* rename tsstats.log.parse_logs to tsstats.log.parse_log and remove glob-functionality
* create tsstats.log.parse_log to handle globbing
* fix tests to use tsstats.log.parse_log instead of tsstats.log.parse_logs
* bump version to 0.4.0
2016-05-23 21:50:10 +02:00
Thor77 3112311f7e move invalid-log-test from test_general.py to test_log.py 2016-05-19 21:37:12 +02:00
Thor77 36790e3863 modify test_log_client_count to use tsstats.client.Clients.__len__ 2016-05-19 15:41:19 +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