Skip to content

Commit c406e1b

Browse files
committed
tests running
1 parent 187446c commit c406e1b

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

src/cone/app/tests/test_browser_sharing.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ def test_empty_state_message(self):
4343

4444
msg = table.empty_state_message
4545
self.assertIn('mb-1', msg)
46-
self.assertIn('No users have been granted access', msg)
47-
self.assertIn('global Manager or Admin roles', msg)
46+
self.assertIn('No local access permissions assigned.', msg)
4847

4948
# With a filter term, empty_state_message returns None so the
5049
# generic empty search result is not obscured by the hint.
@@ -58,14 +57,13 @@ def test_empty_state_rendered(self):
5857
# Empty table (no principal roles) renders the empty-state hint.
5958
with self.layer.authenticated('manager'):
6059
res = render_tile(root, request, 'sharing')
61-
self.assertIn('No users have been granted access', res)
62-
self.assertIn('global Manager or Admin roles', res)
60+
self.assertIn('No local access permissions assigned.', res)
6361

6462
# Once a principal role exists the hint must not appear.
6563
root.principal_roles['viewer'] = ['editor']
6664
with self.layer.authenticated('manager'):
6765
res = render_tile(root, request, 'sharing')
68-
self.assertNotIn('No users have been granted access', res)
66+
self.assertNotIn('No local access permissions assigned.', res)
6967

7068
def test_render_sharing_tile(self):
7169
root = SharingNode(name='root')

0 commit comments

Comments
 (0)