diff options
Diffstat (limited to 'awxkit/test/test_dependency_resolver.py')
-rw-r--r-- | awxkit/test/test_dependency_resolver.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/awxkit/test/test_dependency_resolver.py b/awxkit/test/test_dependency_resolver.py index 83312b8bf9..3c7469896f 100644 --- a/awxkit/test/test_dependency_resolver.py +++ b/awxkit/test/test_dependency_resolver.py @@ -6,7 +6,6 @@ from awxkit.api.mixins import has_create class MockHasCreate(has_create.HasCreate): - connection = None def __str__(self): @@ -26,7 +25,6 @@ class A(MockHasCreate): class B(MockHasCreate): - optional_dependencies = [A] def create(self, a=None, **kw): @@ -35,7 +33,6 @@ class B(MockHasCreate): class C(MockHasCreate): - dependencies = [A, B] def create(self, a=A, b=B, **kw): @@ -44,7 +41,6 @@ class C(MockHasCreate): class D(MockHasCreate): - dependencies = [A] optional_dependencies = [B] @@ -54,7 +50,6 @@ class D(MockHasCreate): class E(MockHasCreate): - dependencies = [D, C] def create(self, c=C, d=D, **kw): @@ -63,7 +58,6 @@ class E(MockHasCreate): class F(MockHasCreate): - dependencies = [B] optional_dependencies = [E] @@ -73,7 +67,6 @@ class F(MockHasCreate): class G(MockHasCreate): - dependencies = [D] optional_dependencies = [F, E] @@ -83,7 +76,6 @@ class G(MockHasCreate): class H(MockHasCreate): - optional_dependencies = [E, A] def create(self, a=None, e=None, **kw): @@ -97,7 +89,6 @@ class MultipleWordClassName(MockHasCreate): class AnotherMultipleWordClassName(MockHasCreate): - optional_dependencies = [MultipleWordClassName] def create(self, multiple_word_class_name=None, **kw): @@ -466,7 +457,6 @@ class OneWithArgs(MockHasCreate): class TwoWithArgs(MockHasCreate): - dependencies = [OneWithArgs] def create(self, one_with_args=OneWithArgs, **kw): @@ -478,7 +468,6 @@ class TwoWithArgs(MockHasCreate): class ThreeWithArgs(MockHasCreate): - dependencies = [OneWithArgs] optional_dependencies = [TwoWithArgs] @@ -489,7 +478,6 @@ class ThreeWithArgs(MockHasCreate): class FourWithArgs(MockHasCreate): - dependencies = [TwoWithArgs, ThreeWithArgs] def create(self, two_with_args=TwoWithArgs, three_with_args=ThreeWithArgs, **kw): @@ -558,7 +546,6 @@ def test_tuples_for_class_arg_cause_unshared_dependencies_when_downstream(): class NotHasCreate(object): - pass @@ -583,7 +570,6 @@ class MixinUserD(MixinUserC): class NotHasCreateDependencyHolder(MockHasCreate): - dependencies = [NotHasCreate] def create(self, not_has_create=MixinUserA): @@ -608,7 +594,6 @@ def test_not_has_create_passed_dependency(): class HasCreateParentDependencyHolder(MockHasCreate): - dependencies = [MixinUserB] def create(self, mixin_user_b=MixinUserC): @@ -626,7 +611,6 @@ def test_has_create_stored_as_parent_dependency(): class DynamicallyDeclaresNotHasCreateDependency(MockHasCreate): - dependencies = [NotHasCreate] def create(self, not_has_create=MixinUserA): @@ -645,7 +629,6 @@ def test_subclass_or_parent_dynamic_not_has_create_dependency_declaration(depend class DynamicallyDeclaresHasCreateDependency(MockHasCreate): - dependencies = [MixinUserB] def create(self, mixin_user_b=MixinUserB): |