Fix autodiscover test

This commit is contained in:
Ales (Shagi) Zabala Alava 2021-05-12 16:11:33 +02:00
parent 2fa7401d58
commit 7155342ed2
1 changed files with 1 additions and 7 deletions

View File

@ -148,13 +148,7 @@ class SiteTestCase(TestCase):
class SampleAppIntegrationTest(TestCase):
def test_gas_autodiscover(self):
# urls registered
reverse('gas:user_list')
# menu registered
self.assertIn(
'users',
site._registry['menu'],
)
reverse('gas:index')
# role registered
self.assertIn(