migrate test_{add,analytics,init,unprotect,local,process}.py to pytest

This commit is contained in:
Saugat Pachhai (सौगात)
2022-11-03 23:07:28 +05:45
committed by skshetry
parent 08a643e005
commit 1cad8ea7fd
6 changed files with 185 additions and 249 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ def test_init_quiet_should_not_display_welcome_screen(tmp_dir, scm, caplog):
with caplog.at_level(logging.INFO, logger="dvc"):
ret = main(["init", "--quiet"])
assert 0 == ret
assert ret == 0
assert "" == caplog.text