mirror of
https://github.com/dtomlinson91/tembo.git
synced 2025-12-22 06:25:45 +00:00
adding latest tests
This commit is contained in:
@@ -35,7 +35,6 @@ def test_new_verify_name_exists_scope_not_found(shared_datadir):
|
||||
# arrange
|
||||
os.environ["TEMBO_CONFIG"] = str(shared_datadir / "config" / "success")
|
||||
importlib.reload(tembo.cli)
|
||||
from tembo.cli.cli import _new_verify_name_exists
|
||||
|
||||
# act
|
||||
with pytest.raises(tembo.exceptions.ScopeNotFound) as scope_not_found:
|
||||
@@ -54,7 +53,6 @@ def test_new_verify_name_exists_empty_config(shared_datadir):
|
||||
# arrange
|
||||
os.environ["TEMBO_CONFIG"] = str(shared_datadir / "config" / "empty")
|
||||
importlib.reload(tembo.cli)
|
||||
from tembo.cli.cli import _new_verify_name_exists
|
||||
|
||||
# act
|
||||
with pytest.raises(tembo.exceptions.EmptyConfigYML) as empty_config_yml:
|
||||
@@ -74,7 +72,6 @@ def test_new_verify_name_exists_missing_config(shared_datadir):
|
||||
# arrange
|
||||
os.environ["TEMBO_CONFIG"] = str(shared_datadir / "config" / "missing")
|
||||
importlib.reload(tembo.cli)
|
||||
from tembo.cli.cli import _new_verify_name_exists
|
||||
|
||||
# act
|
||||
with pytest.raises(tembo.exceptions.MissingConfigYML) as missing_config_yml:
|
||||
|
||||
Reference in New Issue
Block a user