Commit Graph

8 Commits

Author SHA1 Message Date
Thor77 c6a8bea31e Add test for broken/invalid cachefile 2018-03-31 20:49:10 +02:00
Thor77 7e8f3b31bb Test parsing results are consistent
independent from using cache or not
2018-03-31 20:49:10 +02:00
Thor77 97425aa08d Sort imports 2018-03-31 20:49:10 +02:00
Thor77 af608f175f Make sure each test gets its own cache
by appending testfunction-name to cache_path
2018-03-31 20:49:10 +02:00
Thor77 ab99c5f64c Rewrite test integration test
to assert two runs with the same cache_path return the same servers
(after writing and reading from cache).
2018-03-31 20:49:10 +02:00
Thor77 9c2daf630c Remove unused mocker-fixture argument 2018-03-31 20:49:10 +02:00
Thor77 0f0386f14a Rewrite needs_parsing-test
it now copies the testlog to a tmpfile first and adds a line
to check if Cache.needs_parsing is working correctly
2018-03-31 20:49:10 +02:00
Thor77 40d851e9d7 Add tests for tsstats.cache.Cache 2018-03-31 20:49:10 +02:00