Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_image_needs_pushing():
assert image_needs_pushing("jupyterhub/image-not-to-be-found:latest")
assert not image_needs_pushing("jupyterhub/k8s-hub:0.8.2")
def test_image_needs_pushing():
assert image_needs_pushing("jupyterhub/image-not-to-be-found:latest")
assert not image_needs_pushing("jupyterhub/k8s-hub:0.8.2")