| Total Complexity | 1 |
| Total Lines | 12 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | # coding: utf-8 |
||
| 7 | class PublishingLimitTestCase(TestCase): |
||
| 8 | |||
| 9 | def test_get_data(self): |
||
| 10 | service = "th_rss" |
||
| 11 | |||
| 12 | self.assertTrue(service.startswith('th_')) |
||
| 13 | |||
| 14 | service_long = MyService.full_name(service) |
||
| 15 | |||
| 16 | self.assertTrue(service_long in settings.TH_SERVICES) |
||
| 17 | |||
| 18 | self.assertTrue('publishing_limit' in settings.DJANGO_TH) |
||
| 19 |