'Test for issue #3997 -- only "available" items should be sent to the sidebar'

def test_get_topic_nodes(self):

    children = get_topic_nodes(parent=self.content_root)
    for child in children:
        self.assertTrue(child.available)
