added inventory from test_permissions
This commit is contained in:
@@ -694,7 +694,7 @@ class PermissionsViewTests(TestCase):
|
||||
self.assertEqual(response.status_code,403)
|
||||
|
||||
# 3, Export Settings
|
||||
def test_coach_edit_athlete_settings(self):
|
||||
def test_coach_edit_athlete_exportsettings(self):
|
||||
self.rbasic.team.add(self.teamcoach)
|
||||
self.rbasic.coachinggroups.add(self.coachinggroup)
|
||||
|
||||
@@ -706,7 +706,7 @@ class PermissionsViewTests(TestCase):
|
||||
response = self.c.get(url)
|
||||
self.assertEqual(response.status_code,200)
|
||||
|
||||
def test_coach_edit_athlete_settings_not(self):
|
||||
def test_coach_edit_athlete_exportsettings_not(self):
|
||||
self.rbasic.team.add(self.teamcoach)
|
||||
|
||||
login = self.c.login(username=self.ucoach.username, password=self.ucoachpassword)
|
||||
@@ -718,7 +718,7 @@ class PermissionsViewTests(TestCase):
|
||||
self.assertEqual(response.status_code,403)
|
||||
|
||||
# 4, Account settings
|
||||
def test_coach_edit_athlete_settings(self):
|
||||
def test_coach_edit_athlete_account(self):
|
||||
self.rbasic.team.add(self.teamcoach)
|
||||
self.rbasic.coachinggroups.add(self.coachinggroup)
|
||||
|
||||
@@ -730,7 +730,7 @@ class PermissionsViewTests(TestCase):
|
||||
response = self.c.get(url)
|
||||
self.assertEqual(response.status_code,200)
|
||||
|
||||
def test_coach_edit_athlete_settings_not(self):
|
||||
def test_coach_edit_athlete_account_not(self):
|
||||
self.rbasic.team.add(self.teamcoach)
|
||||
|
||||
login = self.c.login(username=self.ucoach.username, password=self.ucoachpassword)
|
||||
|
||||
Reference in New Issue
Block a user