Skip to content

Commit

Permalink
Add test for run_exists()
Browse files Browse the repository at this point in the history
  • Loading branch information
kgodlewski committed Jan 10, 2025
1 parent dfda98c commit a4d83be
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/e2e/test_net.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import os

from neptune_scale.net.runs import run_exists

NEPTUNE_PROJECT = os.getenv("NEPTUNE_E2E_PROJECT")


def test_run_exists_true(run):
assert run_exists(run._project, run._run_id)
assert not run_exists(run._project, "nonexistent_run_id")

0 comments on commit a4d83be

Please sign in to comment.