You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
413 B
22 lines
413 B
# -*- coding: utf-8 -*-
|
|
import unittest
|
|
import os
|
|
|
|
import dotdot
|
|
import fake_env
|
|
|
|
from pubs import endecoder, pretty
|
|
|
|
from str_fixtures import bibtex_raw0
|
|
|
|
class TestPretty(unittest.TestCase):
|
|
|
|
def test_oneliner(self):
|
|
|
|
decoder = endecoder.EnDecoder()
|
|
bibdata = decoder.decode_bibdata(bibtex_raw0)
|
|
pretty.bib_oneliner(bibdata['Page99'])
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|