Fakultas Ilmu Komputer UI

Commit 732f61ef authored by Putu Agastya's avatar Putu Agastya
Browse files

[RED] Test url daftar katalog

parent 6e30c914
from django.test import TestCase
from django.test import TestCase, Client
from django.urls import resolve
# Create your tests here.
class DaftarKatalogTest(TestCase):
def test_daftar_katalog_url_exist(self):
url = "/"
response = Client().get(f'{url}')
self.assertEqual(response.status_code,200)
\ 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