예제 #1
0
	def test_get_email_header(self):
		html = get_header(["This is test", "orange"])
		self.assertTrue('<span class="indicator indicator-orange"></span>' in html)
		self.assertTrue("<span>This is test</span>" in html)

		html = get_header(["This is another test"])
		self.assertTrue("<span>This is another test</span>" in html)

		html = get_header("This is string")
		self.assertTrue("<span>This is string</span>" in html)
예제 #2
0
	def test_get_email_header(self):
		html = get_header(['This is test', 'orange'])
		self.assertTrue('<span class="indicator indicator-orange"></span>' in html)
		self.assertTrue('<span>This is test</span>' in html)

		html = get_header(['This is another test'])
		self.assertTrue('<span>This is another test</span>' in html)

		html = get_header('This is string')
		self.assertTrue('<span>This is string</span>' in html)
예제 #3
0
	def test_get_email_header(self):
		html = get_header(['This is test', 'orange'])
		self.assertTrue('<span class="indicator indicator-orange"></span>' in html)
		self.assertTrue('<span>This is test</span>' in html)

		html = get_header(['This is another test'])
		self.assertTrue('<span>This is another test</span>' in html)

		html = get_header('This is string')
		self.assertTrue('<span>This is string</span>' in html)