def testHomepageFunction(self):

        # Test existing module
        hp = homepage("pr")
        self.assertTrue(hp is not None)

        # Test non-existent (deactivated) module
        hp = homepage("nonexistent")
        self.assertTrue(hp is not None)
        self.assertFalse(hp.check_active())
        rendered_hp = hp.xml()
        self.assertEqual(rendered_hp, "")

    # -------------------------------------------------------------------------
Prepare events and data, primarily for `linear_regression_raw`. See
dataset/ETHPy150Open sahana/eden/modules/unit_tests/modules/s3layouts.py/LayoutTests.testHomepageFunction--crossover with--dataset/ETHPy150Open mne-tools/mne-python/mne/stats/regression.py/_prepare_rerp_data