mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-06-12 11:10:50 +08:00
test: 测试套件自隔离与全量离线化(collection 清零 + 杜绝真实网络) (#5873)
This commit is contained in:
@@ -150,7 +150,3 @@ class MoviePilotServerHelperTests(unittest.TestCase):
|
||||
with patch.object(MoviePilotServerHelper, "get_github_user", return_value="user"), \
|
||||
patch.object(MoviePilotServerHelper, "user_permissions", return_value=response):
|
||||
self.assertFalse(MoviePilotServerHelper.is_admin_user())
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
||||
Reference in New Issue
Block a user