@@ -0,0 +1,656 @@
+import os%0A%0Aimport pytest%0Afrom click.testing import CliRunner%0Afrom verta._cli import cli%0A%0Afrom verta._internal_utils import _config_utils%0A%0A%0Aclass TestInit:%0A    def test_init(self):%0A        runner = CliRunner()%0A        with runner.isolated_filesystem():%0A            result = runner.invoke(cli, %5B'init'%5D)%0A            assert not result.exception%0A            assert result.output.startswith(%22initialized empty config file %22)%0A            assert os.path.isfile(_config_utils.CONFIG_YAML_FILENAME)%0A%0A            result = runner.invoke(cli, %5B'init'%5D)%0A            assert not result.exception%0A            assert result.output.startswith(%22found existing config file %22)%0A

Add test for init (#538)