Example #1
0
def test_not_higher_quota():
    provider = GitHubRepoProvider(
        spec='jupyterhub/zero-to-jupyterhub-k8s/v0.4',
        high_quota_specs=[
            '^jupyterhub.*'
        ]
    )
    assert provider.has_higher_quota()
Example #2
0
def test_not_higher_quota():
    provider = GitHubRepoProvider(
        spec="jupyterhub/zero-to-jupyterhub-k8s/v0.4",
        high_quota_specs=["^jupyterhub.*"],
    )
    assert provider.has_higher_quota()