| Total Complexity | 2 |
| Total Lines | 6 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | from unittest import TestCase |
||
| 7 | class TestGroupingStrategy(TestCase): |
||
| 8 | def test_get_items_from_group(self): |
||
| 9 | grouping_strategy = Mock() |
||
| 10 | grouping_strategy.get_actual_numbers_of_groups.return_value = 3 |
||
| 11 | with self.assertRaises(ValueError): |
||
| 12 | GroupingStrategy.get_items_from_group(grouping_strategy, 4) |
||
| 13 |
This check looks for invalid names for a range of different identifiers.
You can set regular expressions to which the identifiers must conform if the defaults do not match your requirements.
If your project includes a Pylint configuration file, the settings contained in that file take precedence.
To find out more about Pylint, please refer to their site.