repo: get default logger level from logger

This commit is contained in:
pared
2019-04-29 17:41:38 -07:00
parent 8bb21261e3
commit a1b12db00f
3 changed files with 11 additions and 6 deletions
+7
View File
@@ -64,3 +64,10 @@ class TestInitNoSCM(TestDir):
self.assertEqual(ret, 0)
self._test_init()
def test_init_quiet_should_not_display_welcome_screen(git, caplog):
ret = main(["init", "--quiet"])
assert 0 == ret
assert "" == caplog.text