Clean up gitosis.gitweb unit tests.

This commit is contained in:
Tommi Virtanen 2007-06-05 13:42:59 +03:00
parent f7b0ec3729
commit b563c50da2

View file

@ -5,16 +5,7 @@ from cStringIO import StringIO
from gitosis import gitweb from gitosis import gitweb
def test_empty(): def test_projectsList_empty():
cfg = RawConfigParser()
got = StringIO()
gitweb.generate(
config=cfg,
fp=got)
eq(got.getvalue(), '''\
''')
def test_trickyFilenames():
cfg = RawConfigParser() cfg = RawConfigParser()
got = StringIO() got = StringIO()
gitweb.generate( gitweb.generate(