diff options
| author | Roy Sommer <roy@sommer.co.il> | 2019-12-23 00:13:27 +0200 |
|---|---|---|
| committer | Roy Sommer <roy@sommer.co.il> | 2019-12-23 00:13:27 +0200 |
| commit | 4c6711a8d7e6d8aaecc0c6499f416dfea1ff3f6a (patch) | |
| tree | af4c524f908c394bcd13feb4f0b34270b8a6ec7b /tests | |
| parent | v1.0.0 (diff) | |
| download | taskipy2-4c6711a8d7e6d8aaecc0c6499f416dfea1ff3f6a.zip | |
renaming
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/fixtures/project_with_pre_post_task_hooks/pyproject.toml | 2 | ||||
| -rw-r--r-- | tests/fixtures/project_with_pyproject_and_tasks/pyproject.toml | 2 | ||||
| -rw-r--r-- | tests/test_taskipy.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/fixtures/project_with_pre_post_task_hooks/pyproject.toml b/tests/fixtures/project_with_pre_post_task_hooks/pyproject.toml index fb9a142..032f87f 100644 --- a/tests/fixtures/project_with_pre_post_task_hooks/pyproject.toml +++ b/tests/fixtures/project_with_pre_post_task_hooks/pyproject.toml @@ -2,7 +2,7 @@ name = "taskipy" description = "tasks runner for python projects" -[tool.taskify.tasks] +[tool.taskipy.tasks] pre_hello = "echo 'pre_task'" hello = "echo 'hello'" post_hello = "echo 'post_task'" diff --git a/tests/fixtures/project_with_pyproject_and_tasks/pyproject.toml b/tests/fixtures/project_with_pyproject_and_tasks/pyproject.toml index 289fcf4..d5b9ba5 100644 --- a/tests/fixtures/project_with_pyproject_and_tasks/pyproject.toml +++ b/tests/fixtures/project_with_pyproject_and_tasks/pyproject.toml @@ -2,7 +2,7 @@ name = "taskipy" description = "tasks runner for python projects" -[tool.taskify.tasks] +[tool.taskipy.tasks] create_hello_txt = "echo 'hello, world' > hello.txt" exit_17 = "exit 17" print_hello_stdout = "echo 'hello stdout'" diff --git a/tests/test_taskipy.py b/tests/test_taskipy.py index fdd9ac5..8e220c9 100644 --- a/tests/test_taskipy.py +++ b/tests/test_taskipy.py @@ -113,7 +113,7 @@ class TaskRunFailTestCase(TaskipyTestCase): cwd = self.create_test_dir_from_fixture('project_with_pyproject_without_tasks_section') exit_code, stdout, _ = self.run_task('task_that_does_not_exist', cwd=cwd) - self.assertSubstr('no tasks found. add a [tool.taskify.tasks] section to your pyproject.toml', stdout) + self.assertSubstr('no tasks found. add a [tool.taskipy.tasks] section to your pyproject.toml', stdout) self.assertEqual(exit_code, 127) def test_exiting_with_code_1_and_printing_if_no_pyproject_toml_file_found(self): |