2014-05-26 16:50:58 +02:00
|
|
|
# -*- coding: utf8 -*-
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
# "THE NO-ALCOHOL BEER-WARE LICENSE" (Revision 42):
|
|
|
|
# Phyks (webmaster@phyks.me) wrote this file. As long as you retain this notice
|
|
|
|
# you can do whatever you want with this stuff (and you can also do whatever
|
|
|
|
# you want with this stuff without retaining it, but that's not cool...). If we
|
|
|
|
# meet some day, and you think this stuff is worth it, you can buy me a
|
|
|
|
# <del>beer</del> soda in return.
|
|
|
|
# Phyks
|
|
|
|
# -----------------------------------------------------------------------------
|
2014-06-08 18:54:24 +02:00
|
|
|
import unittest
|
|
|
|
from backend import *
|
|
|
|
|
|
|
|
|
|
|
|
class TestFetcher(unittest.TestCase):
|
|
|
|
def test_getNewName(self):
|
|
|
|
return
|
|
|
|
|
|
|
|
def test_bibtexAppend(self):
|
|
|
|
return
|
|
|
|
|
|
|
|
def test_bibtexEdit(self):
|
|
|
|
return
|
|
|
|
|
|
|
|
def test_bibtexRewrite(self):
|
|
|
|
return
|
|
|
|
|
|
|
|
def test_deleteId(self):
|
|
|
|
return
|
|
|
|
|
|
|
|
def test_deleteFile(self):
|
|
|
|
return
|
|
|
|
|
|
|
|
def test_diffFilesIndex(self):
|
|
|
|
return
|
|
|
|
|
|
|
|
def test_getBibtex(self):
|
|
|
|
return
|
|
|
|
|
|
|
|
def test_getEntries(self):
|
|
|
|
return
|
|
|
|
|
|
|
|
def test_updateArxiv(self):
|
|
|
|
return
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
unittest.main()
|