adding latest tests

This commit is contained in:
2021-11-04 22:47:28 +00:00
parent 87368c4238
commit 52461cb794

View File

@@ -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: