Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/d/a/datawinners-HEAD/func_tests/tests/allsubjectstests/all_subjects_tests.py   datawinners(Download)
from pages.loginpage.login_page import LoginPage
from testdata.test_data import DATA_WINNER_LOGIN_PAGE, url
from tests.allsubjectstests.all_subjects_data import SUBJECT_TYPE, SUBJECT_TYPE_WHITE_SPACES, ERROR_MSG_INVALID_ENTRY, SUBJECT_TYPE_SPL_CHARS, SUBJECT_TYPE_BLANK, ERROR_MSG_EMPTY_ENTRY
from tests.logintests.login_data import VALID_CREDENTIALS
# Moving to Jasmine Tests - AJay/DC
    def test_add_duplicate_subjectType(self):
        self.driver.go_to(url("/entity/subjects/"))
        subject_type_name = SUBJECT_TYPE + random_string(3)
        self.add_subject_type(subject_type_name)
        self.validate_subject_type(subject_type_name)