Skip to content

Commit 6aec34b

Browse files
committed
add test_exists()
1 parent e370f75 commit 6aec34b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/unit/test_projects.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,9 @@ def test_already_exists() -> None:
211211
with pytest.raises(exceptions.ObjectAlreadyExists):
212212
projects.Project.create(endpoint=tutil.SQ, key=tutil.EXISTING_PROJECT, name="name")
213213

214+
def test_exists() -> None:
215+
assert projects.exists(tutil.SQ, tutil.LIVE_PROJECT)
216+
assert not projects.exists(tutil.SQ, "non-existing")
214217

215218
def test_binding() -> None:
216219
"""test_binding"""

0 commit comments

Comments
 (0)