def test_copy_page(self):
        page_a = create_page("page_a", "nav_playground.html", "en", published=True)
        page_a_a = create_page("page_a_a", "nav_playground.html", "en",
                               parent=page_a, published=True, reverse_id="hello")
        create_page("page_a_a_a", "nav_playground.html", "en", parent=page_a_a, published=True)

        page_b = create_page("page_b", "nav_playground.html", "en", published=True)
        page_b_a = create_page("page_b_b", "nav_playground.html", "en",
                               parent=page_b, published=True)

        count = Page.objects.drafts().count()

        superuser = self.get_superuser()
        with self.login_user_context(superuser):
            self.copy_page(page_a, page_b_a)

        self.assertEqual(Page.objects.drafts().count() - count, 3)
This is merely another implementation of the method
dataset/ETHPy150Open divio/django-cms/cms/tests/test_page.py/PagesTestCase.test_copy_page--crossover with--dataset/ETHPy150Open networkdynamics/zenlib/src/zen/util/bitvector.py/BitVector.circular_rot_right