Commit Graph

22 Commits

Author SHA1 Message Date
Егор
0d7156b5b1 WIP: Fix pycodestyle errors (#653)
* Fix pycodestyle errors

W503 is condracting PEP-8 and was added to the default ignore list by
pycodestyle developers

* Use setup.cfg for pycodestyle ignore parameters

Addresses #651 (kind of). Appending ignores to the default list prevents
us from getting warnings that we don't care about.

* W503 is not in the default ignore list in 2.4.0
2018-08-06 13:29:19 +00:00
enkore
1532040f0b Replace DIY parametrized tests with @pytest.mark.parametrize 2015-06-24 11:01:53 +02:00
enkore
95718c27a8 Remember when we switched to py.test? Yeah well, we lost half the tests on the way there. 2014-10-17 16:12:59 +02:00
enkore
a0a557de9d PEP 8 (I'm bored): tests/test_core_util 2014-10-14 16:53:15 +02:00
enkore
7c8205392b Remove lots of dumb tests from test_core_util 2013-10-23 21:44:39 +02:00
enkore
d4e5e88986 Set literals 2013-10-23 17:15:09 +02:00
enkore
8fe5c77acd ModuleList: Remove hard dependency on ClassFinder 2013-10-23 17:14:08 +02:00
enkore
2106585d4c ClassFinder: fixed unexpected behaviour, add tests for this 2013-10-23 17:13:38 +02:00
enkore
5eb271c684 Remove PrefixedKeyDict (unused) 2013-10-23 16:54:51 +02:00
enkore
78c01dd3e5 PEP8 2013-10-01 15:22:09 +02:00
enkore
69b702d2f1 3.24: Introduce time wrapper, remove battery remaining_* formatter(!!!) 2013-08-04 23:40:19 +02:00
enkore
e94f917226 core.util.formatp add test for complex fields 2013-08-04 17:49:43 +02:00
enkore
ea1cbe9a0c 3.23: Fixed core.util.formatp (also added core.util.flatten for this fix) 2013-08-04 17:25:04 +02:00
enkore
3dc85536ad [temp] ~stack tokenizer 2013-08-04 16:30:06 +02:00
enkore
aa740e8a4a core.util.formatp: Add test case breaking it, trying to fix that. Argh. 2013-08-04 14:44:28 +02:00
enkore
d5d0b19330 Add core.util.formatp (this is going to be good) 2013-08-03 03:18:24 +02:00
enkore
6ad0004d37 Extended ModuleList tests 2013-03-11 17:18:19 +01:00
enkore
279c3504c2 Basically complete tests for core.util
Currently the entire classfinder magic isn't tested, because
it's hard to test.
2013-03-09 14:53:31 +01:00
enkore
c60d2fd3df Should definitely test KeyConstraintDict.
Seems to be all ok so far, just needed to add __delitem__
2013-03-08 16:59:59 +01:00
enkore
ea4ef6d66d popwhile tests 2013-03-08 16:08:19 +01:00
enkore
37b69fd158 Hey, how about some determenistic tests? Wouldn't that be real great? 2013-03-08 16:00:42 +01:00
enkore
9084661a5d Rewrote core.util.partition, added tests for it. 2013-03-08 15:53:48 +01:00