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