From 30c3bc9124ebfd9009fbd5435aa3a609a35b8f3f Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Mon, 10 Jun 2024 18:12:01 -0700 Subject: [PATCH] Remove repeated tests --- binderhub/tests/test_repoproviders.py | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/binderhub/tests/test_repoproviders.py b/binderhub/tests/test_repoproviders.py index 66bdde056..87c6a3727 100644 --- a/binderhub/tests/test_repoproviders.py +++ b/binderhub/tests/test_repoproviders.py @@ -287,29 +287,6 @@ def test_allowed_but_banned(): assert provider.is_banned() -def test_allowed(): - provider = GitHubRepoProvider( - spec="jupyterhub/zero-to-jupyterhub-k8s/v0.4", allowed_specs=["^jupyterhub.*"] - ) - assert not provider.is_banned() - - -def test_not_allowed(): - provider = GitHubRepoProvider( - spec="jupyterhub/zero-to-jupyterhub-k8s/v0.4", allowed_specs=["^yuvipanda.*"] - ) - assert provider.is_banned() - - -def test_allowed_but_banned(): - provider = GitHubRepoProvider( - spec="jupyterhub/zero-to-jupyterhub-k8s/v0.4", - allowed_specs=["^jupyterhub.*"], - banned_specs=[".*zero-to-.*"], - ) - assert provider.is_banned() - - def test_higher_quota(): provider = GitHubRepoProvider( spec="jupyterhub/zero-to-jupyterhub-k8s/v0.4", high_quota_specs=["^yuvipanda.*"]