def test_configure_web_server(self):
        """
        Checks whether the Apache server can be configured correctly.
        PRERREQUISITE: Apache Reloader script must previously be running.
        """
        settings = prepare_system("testuser@testuser.com", "admin", "Administrador", "password", "admin@admin.com",
               self.wcloud_settings)
        self._settings = settings
        base_url = os.path.join(flask_app.config["DIR_BASE"], settings[Creation.BASE_URL])
        creation_results = create_weblab_environment(base_url, settings)
        configure_web_server(creation_results)

        assert os.path.isfile(os.path.join(base_url, "../", "apache.conf"))
        content = open(os.path.join(base_url, "../", "apache.conf"), "r").read()
        assert "testentity" in content
        lines = content.split("\n")
        line = [line.strip() for line in lines if line in "testentity"][0]
        assert os.path.isfile(line.split("\"")[1])
dataset/ETHPy150Open weblabdeusto/weblabdeusto/tools/wcloud/wcloud/test/test_wcloud_tasks.py/TestWcloudTasks.test_configure_web_server/swapped operands of `in`