예제 #1
0
파일: test_std.py 프로젝트: marrow/cinje
	def test_heading_iterator(self, std):
		assert flatten(std.heading(iter(['Wazzit.']), 2)) == '<h2>Wazzit.</h2>\n'
예제 #2
0
파일: test_std.py 프로젝트: marrow/cinje
	def test_heading(self, std):
		assert flatten(std.heading('Allo.')) == '<h1>Allo.</h1>\n'