tests: check that all services have a service id.
This commit is contained in:
parent
1ff180fd48
commit
bae63f27ff
|
@ -1,3 +1,11 @@
|
|||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
from models import AVAILABLE_SERVICES
|
||||
|
||||
class ServiceTest(TestCase):
|
||||
def test_service_id(self):
|
||||
"""
|
||||
Tests that all services have a service id.
|
||||
"""
|
||||
for service in AVAILABLE_SERVICES:
|
||||
self.assertTrue(service.Extra.service_id)
|
||||
|
|
Loading…
Reference in New Issue