diff --git a/test/allow_test.py b/test/allow_test.py index 15561e4..9f20b64 100644 --- a/test/allow_test.py +++ b/test/allow_test.py @@ -64,7 +64,7 @@ def test_proxies_docstring(self): allow(subject).method_with_doc assert subject.method_with_doc.__doc__ == ( - """A basic method of OldStyleUser to illustrate existance of a docstring""" + """A basic method of OldStyleUser to illustrate existence of a docstring""" ) def test_proxies_name(self): diff --git a/test/class_double_test.py b/test/class_double_test.py index 1593121..753c8a0 100644 --- a/test/class_double_test.py +++ b/test/class_double_test.py @@ -110,7 +110,7 @@ def test_satisfied_exception(self, test_class): @mark.parametrize('test_class', TEST_CLASSES[0:2]) class TestUserOnly(object): - """Test using the constructor on a class witha custom __init__""" + """Test using the constructor on a class with a custom __init__""" def test_called_with_wrong_args(self, test_class): TestClass = ClassDouble(test_class) diff --git a/test/partial_double_test.py b/test/partial_double_test.py index 46719c1..ba5797f 100644 --- a/test/partial_double_test.py +++ b/test/partial_double_test.py @@ -384,18 +384,18 @@ def test_decorated_function_that_returns_a_callable(self): assert doubles.testing.decorated_function('bob barker') == 'foo' - def test_varibale_that_points_to_class_method(self): + def test_variable_that_points_to_class_method(self): allow(doubles.testing).class_method.and_return('foo') assert doubles.testing.class_method('bob barker') == 'foo' - def test_varibale_that_points_to_instance_method(self): + def test_variable_that_points_to_instance_method(self): allow(doubles.testing).instance_method.and_return('foo') assert doubles.testing.instance_method() == 'foo' -class TestClassWithGetAtter(object): +class TestClassWithGetAttr(object): def test_can_allow_an_existing_method(self): test_obj = doubles.testing.ClassWithGetAttr() allow(test_obj).method.and_return('foobar')