예제 #1
0
 def test_non_staff_user_has_empty_menu(self):
     menu = get_nodes(self.non_staff_user)
     assert menu == []
예제 #2
0
 def test_non_staff_user_has_empty_menu(self):
     menu = get_nodes(self.non_staff_user)
     assert menu == []
예제 #3
0
 def test_staff_user_has_menu(self):
     menu = get_nodes(self.staff_user)
     assert menu
예제 #4
0
 def test_staff_user_has_menu(self):
     menu = get_nodes(self.staff_user)
     assert menu