def setUpClass(cls): super(CitationsViewsTestCase, cls).setUpClass() # populate the DB with parsed citation styles try: parse_citation_styles.main() except OSError: pass
def update_citation_styles(): from scripts import parse_citation_styles total = parse_citation_styles.main() print("Parsed {} styles".format(total))
def _parsed_citation_styles(self): # populate the DB with parsed citation styles try: parse_citation_styles.main() except OSError: pass
def update_citation_styles(ctx): from scripts import parse_citation_styles total = parse_citation_styles.main() print('Parsed {} styles'.format(total))