Fakultas Ilmu Komputer UI

test_apps.py 277 Bytes
Newer Older
Rayza Arasj Mahardhika's avatar
Rayza Arasj Mahardhika committed
1
2
3
4
5
6
7
8
9
from django.apps import apps
from django.test import TestCase
from lists.apps import ListsConfig


class ListsConfigTest(TestCase):
    def test_apps(self):
        self.assertEqual(ListsConfig.name, 'lists')
        self.assertEqual(apps.get_app_config('lists').name, 'lists')