From 43bfd3d36b985fc10502b4037f29c31cf0347149 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Wed, 30 Oct 2024 09:07:54 +0100 Subject: [PATCH] Update test_decorator.py --- tests/unit/flex/test_decorator.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/unit/flex/test_decorator.py b/tests/unit/flex/test_decorator.py index 9ecece73c..2db56c852 100644 --- a/tests/unit/flex/test_decorator.py +++ b/tests/unit/flex/test_decorator.py @@ -1,5 +1,5 @@ from pyiron_base._tests import TestWithProject -from pyiron_base import pyiron_job +from pyiron_base import job import unittest @@ -8,11 +8,11 @@ def tearDown(self): self.project.remove_jobs(recursive=True, silently=True) def test_delayed(self): - @pyiron_job() + @job() def my_function_a(a, b=8): return a + b - @pyiron_job(cores=2) + @job(cores=2) def my_function_b(a, b=8): return a + b @@ -24,11 +24,11 @@ def my_function_b(a, b=8): self.assertEqual(len(edges_lst), 6) def test_delayed_simple(self): - @pyiron_job + @job def my_function_a(a, b=8): return a + b - @pyiron_job + @job def my_function_b(a, b=8): return a + b