done.  thanks.


On Thu, Mar 20, 2014 at 4:45 PM, Christina Roberts <notifications@github.com
> wrote:

> In cms/djangoapps/contentstore/features/pages.py:
>
> > @@ -32,6 +33,15 @@ def not_see_any_static_pages(step):
> >      assert (world.is_css_not_present(pages_css, wait_time=30))
> >
> >
> > +@step(u'I should see the default built-in pages')
> > +def see_default_built_in_pages(step):
> > +    expected_pages = ['Courseware', 'Course Info', 'Discussion', 'Wiki', 'Progress']
> > +    pages = world.css_find("div.course-nav-tab-header h3.title")
> > +    assert_equal(len(expected_pages), len(pages))
> > +    for i, page_name in enumerate(expected_pages):
> > +        assert_true(pages[i].text == page_name)
>
> Use assert_equal instead of assert_true so that you get a more meaningful
> message if the test point fails (it will show what was expected vs. what
> you actually got).
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/edx/edx-platform/pull/2910/files#r10815359>
> .
>



-- 

edX | nasthagiri@edx.org <andya@edx.org>

141 Portland Street, 9th floor

Cambridge, MA 02139
http://www.edx.org <http://www.edxonline.org/>

[image:
http://www.e-learn.nl/media/blogs/e-learn/edX_Logo_Col_RGB_FINAL.jpg?mtime=1336074566]