def test_00_login(self):
        """
            login with the standard admin/admin
        """
        self.client = app.test_client()
        self.client.post('/login', data={'username': 'admin', 'password': 'admin'}, follow_redirects=True)

        self.br.open(self.get_server_url() + "/login")
        resp = self.br.response()
        assert self.br.viewing_html()

        # select login form and fill it
        self.br.select_form(name="form-signin")
        self.br['username'] = "admin"
        self.br['password'] = "admin"
        resp = self.br.submit()

        assert '/home'  in resp.geturl()
dataset/ETHPy150Open claudyus/LXC-Web-Panel/tests/browser.py/TestWebBrowser.test_00_login/original