1 2from . import ( 3 _tmpdir, execute_setup_py, initialize_git_repo_and_commit, 4 prepare_project, project_setup_py_test, push_dir 5) 6 7 8@project_setup_py_test("issue-274-support-default-package-dir", ["install"], disable_languages_test=True) 9def test_install_command(): 10 pass 11 12 13def test_test_command(): 14 with push_dir(): 15 16 tmp_dir = _tmpdir('test_test_command') 17 project = "issue-274-support-default-package-dir" 18 prepare_project(project, tmp_dir) 19 initialize_git_repo_and_commit(tmp_dir, verbose=True) 20 21 try: 22 with execute_setup_py(tmp_dir, ["test"], disable_languages_test=True): 23 pass 24 except SystemExit as exc: 25 assert exc.code == 0 26 27 assert tmp_dir.join("test_hello.completed.txt").exists() 28