aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/fixtures/project_with_pre_post_task_hooks/pyproject.toml2
-rw-r--r--tests/fixtures/project_with_pyproject_and_tasks/pyproject.toml2
-rw-r--r--tests/test_taskipy.py2
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):