Esempio n. 1
0
def use_hello_module():
	h = Hello()
	print(h.say_hello())

	h.find_config()

	if len(sys.argv) > 1:
		print("Text from resource1.dat:")
		h.say_long()
Esempio n. 2
0
	def test1(self):
		h = Hello()
		returned = h.say_hello()
		expected = "Greating from Hello class" 
		self.assertEqual(returned, expected)