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): class SampleAppIntegrationTest(TestCase):
def test_gas_autodiscover(self): def test_gas_autodiscover(self):
# urls registered # urls registered
reverse('gas:user_list') reverse('gas:index')
# menu registered
self.assertIn(
'users',
site._registry['menu'],
)
# role registered # role registered
self.assertIn( self.assertIn(