From 360cd49d79df22564f6603e32d0dfe52fb8b6042 Mon Sep 17 00:00:00 2001 From: Nik Nyby Date: Wed, 1 Mar 2017 14:09:55 -0500 Subject: [PATCH] typo fix in docs --- docs/testing.rst | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/testing.rst b/docs/testing.rst index 64c228b..3270a96 100644 --- a/docs/testing.rst +++ b/docs/testing.rst @@ -3,12 +3,11 @@ Testing It can be useful to programmatically set up a pagetree site for testing purposes. If you have custom pageblocks that rely on -JavaScript for essential functionality, you won't be able to -test that code with django's built-in testing features. You can -Selenium with Behave or Lettuce to do this kind of testing. This -page shows how to mock a version of your pagetree site in code. -It can then be used for Selenium tests or for Django-style -unittests. +JavaScript for essential functionality, you won't be able to test that +code with django's built-in testing features. You can use Selenium +with Behave or Lettuce to do this kind of testing. This page shows how +to mock a version of your pagetree site in code. It can then be used +for Selenium tests or for Django-style unittests. Here's an example of a factory that you can put alongside