<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
Вход в личный кабинет Физ. лиц через админку
http://cabinet.sibset.ru/admin/auth/login
"""

from selenium import webdriver
import unittest
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By


class TestCabinetChrome(unittest.TestCase):

    def setUp(self):
        self.driver = webdriver.Chrome()
        self.driver.implicitly_wait(10)
        self.driver.get('http://dev.cabinet.sibset.ru/admin/account')
        self.driver.find_element_by_id(
            'adminuser-login').send_keys('a.efimov') #login
        self.driver.find_element_by_id(
            'adminuser-password').send_keys('<PASSWORD>') #password
        self.driver.find_element_by_class_name(
            'admin_submit_button').click()
        return self.driver<commit_msg>minor fix<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
Вход в личный кабинет Физ. лиц через админку
http://cabinet.sibset.ru/admin/auth/login
"""

from selenium import webdriver
import unittest
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By


class TestCabinetChrome(unittest.TestCase):

    def setUp(self):
        self.driver = webdriver.Chrome()
        self.driver.implicitly_wait(10)
        self.driver.get('http://dev.cabinet.sibset.ru/admin/account')
        self.driver.find_element_by_id(
            'adminuser-login').send_keys('$') #login
        self.driver.find_element_by_id(
            'adminuser-password').send_keys('$') #password
        self.driver.find_element_by_class_name(
            'admin_submit_button').click()
        return self.driver
{'fraction_non_alphanumeric': 0.11819172113289761, 'fraction_numerical': 0.0032679738562091504, 'mean_word_length': 3.405275779376499, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1655637', 'n_tokens_mistral': 609, 'n_tokens_neox': 591, 'n_words': 102}