<s> import os <EOL> from ... . utils import in_temporary_directory <EOL> from ... . utils import assert_cmd_success <EOL> from ... . workspace_assertions import assert_workspace_initialized <EOL> from ... . workspace_assertions import assert_warning_message <EOL> from ... . workspace_assertions import assert_no_warnings <EOL> @ in_temporary_directory <EOL> def test_config_no_ws ( ) : <EOL> out = assert_cmd_success ( [ '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> assert_warning_message ( out , '<STR_LIT>' ) <EOL> @ in_temporary_directory <EOL> def test_init_local_empty_src ( ) : <EOL> cwd = os . getcwd ( ) <EOL> os . mkdir ( os . path . join ( cwd , '<STR_LIT:src>' ) ) <EOL> out = assert_cmd_success ( [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> assert_no_warnings ( out ) <EOL> assert_workspace_initialized ( '<STR_LIT:.>' ) <EOL> @ in_temporary_directory <EOL> def test_config_non_bare ( ) : <EOL> out = assert_cmd_success ( [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> assert_workspace_initialized ( '<STR_LIT:.>' ) <EOL> assert_warning_message ( out , '<STR_LIT>' ) </s>
