Fix autodiscover test
This commit is contained in:
parent
2fa7401d58
commit
7155342ed2
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue