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