Clean up gitosis.gitweb unit tests.
This commit is contained in:
parent
f7b0ec3729
commit
b563c50da2
1 changed files with 1 additions and 10 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue