diff options
Diffstat (limited to 'tests/utils_tests/test_functional.py')
| -rw-r--r-- | tests/utils_tests/test_functional.py | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/tests/utils_tests/test_functional.py b/tests/utils_tests/test_functional.py index f62784f1b0..1413ac23b3 100644 --- a/tests/utils_tests/test_functional.py +++ b/tests/utils_tests/test_functional.py @@ -14,8 +14,7 @@ class FunctionalTestCase(unittest.TestCase): self.assertEqual(a, b) def test_lazy_base_class(self): - """Test that lazy also finds base class methods in the proxy object""" - + """lazy also finds base class methods in the proxy object""" class Base(object): def base_method(self): pass @@ -27,8 +26,7 @@ class FunctionalTestCase(unittest.TestCase): self.assertIn('base_method', dir(t)) def test_lazy_base_class_override(self): - """Test that lazy finds the correct (overridden) method implementation""" - + """lazy finds the correct (overridden) method implementation""" class Base(object): def method(self): return 'Base' @@ -81,10 +79,8 @@ class FunctionalTestCase(unittest.TestCase): def test_cached_property(self): """ - Test that cached_property caches its value, - and that it behaves like a property + cached_property caches its value and that it behaves like a property """ - class A(object): @cached_property @@ -121,9 +117,8 @@ class FunctionalTestCase(unittest.TestCase): def test_lazy_equality(self): """ - Tests that == and != work correctly for Promises. + == and != work correctly for Promises. """ - lazy_a = lazy(lambda: 4, int) lazy_b = lazy(lambda: 4, int) lazy_c = lazy(lambda: 5, int) |
