Skip to content

Commit

Permalink
Remove repeated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Jun 11, 2024
1 parent 87442fb commit 30c3bc9
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions binderhub/tests/test_repoproviders.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.*"]
Expand Down

0 comments on commit 30c3bc9

Please sign in to comment.