test length of urlpatterns list from accounts.url

This commit is contained in:
Trent Palmer 2021-04-09 02:29:08 -07:00
parent c906e6599c
commit 3562a8058e
1 changed files with 7 additions and 0 deletions

View File

@ -3,6 +3,13 @@ from django.urls import reverse, resolve
from accounts.views import log_out, password_change, register, edit_profile
from accounts.login import log_in, two_factor_input
from accounts.enable_totp import enable_totp, disable_totp
from accounts.urls import urlpatterns
class TestNumUrls(SimpleTestCase):
def test_num_urls(self):
self.assertEquals(len(urlpatterns), 12)
class TestViewsUrls(SimpleTestCase):