Completed
Branch master (28ef54)
by Fox
01:25
created

PublishingLimitTestCase   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 12
rs 10
wmc 1
1
# coding: utf-8
2
from django.test import TestCase
3
from django.conf import settings
4
from django_th.my_services import MyService
5
6
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