MCPcopy Create free account
hub / github.com/bugy/script-server / test_single_admin_allowed

Method test_single_admin_allowed

src/tests/authorization_test.py:108–109  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

106
107class TestIsAdmin(unittest.TestCase):
108 def test_single_admin_allowed(self):
109 self.assertAdmin('admin1', ['admin1'], True)
110
111 def test_single_admin_allowed_ignore_case(self):
112 self.assertAdmin('adMin1', ['AdmiN1'], True)

Callers

nothing calls this directly

Calls 1

assertAdminMethod · 0.95

Tested by

no test coverage detected