deprecation_tests

Tests in tests.deprecation_tests:

Available tests

class tests.deprecation_tests.DecoratorFullNameTestCase(*args, **kwargs)[source]

Class with methods deprecated.

class tests.deprecation_tests.DeprecatorTestCase(*args, **kwargs)[source]

Test cases for deprecation tools.

test_deprecate_class()[source]

Test :deprecated with classes.

test_deprecate_class_zero_arg()[source]

Test :deprecated with classes, without arguments.

test_deprecated_class_method()[source]

Test :deprecated with class methods.

test_deprecated_function()[source]

Test :deprecated with functions.

test_deprecated_function2()[source]

Test :deprecated with functions.

test_deprecated_function_instead()[source]

Test :deprecated with functions, using instead.

test_deprecated_function_zero_arg()[source]

Test :deprecated with functions, with zero arguments.

test_deprecated_instance_method_and_arg()[source]

Test @deprecate_arg and :deprecated with instance methods.

test_deprecated_instance_method_and_arg2()[source]

Test :deprecated and @deprecate_arg with instance methods.

test_deprecated_instance_method_arg()[source]

Test @deprecate_arg with instance methods.

test_deprecated_instance_method_args()[source]

Test @deprecate_arg with instance methods and two args.

test_deprecated_instance_method_zero_arg()[source]

Test @deprecate_arg with classes, without arguments.

test_deprecated_static_method()[source]

Test :deprecated with static methods.

test_deprecated_static_method_zero_args()[source]

Test :deprecated with static methods, with zero arguments.