Fakultas Ilmu Komputer UI

Commit 8833e158 authored by Rahmania Astrid Mochtar's avatar Rahmania Astrid Mochtar
Browse files

added test for apps.py

parent 10f8c3d5
Pipeline #28425 failed with stages
in 38 minutes and 22 seconds
from django.apps import apps
from django.test import TestCase
from accounts.apps import AccountsConfig
class AccountsConfigTest(TestCase):
def test_apps(self):
self.assertEqual(AccountsConfig.name, 'accounts')
self.assertEqual(apps.get_app_config('accounts').name, 'accounts')
\ No newline at end of file
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')
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment